Bug 7813 - importing playlists (pls) does not work reliably
: importing playlists (pls) does not work reliably
Status: VERIFIED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.0.1
: PC Fedora
: -- normal (vote)
: 7.x
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-12 07:37 UTC by Paul Davis
Modified: 2009-07-31 10:19 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Davis 2008-04-12 07:37:40 UTC
I just upgraded to SqC 7.0.1 from SlimServer, hoping to find that facilities for handling playlists created and managed outside of SqC had improved. I was never able to reliably get playlists to import using the SS web interface. I managed to get a few playlists imported using the command line tool that the web interface invokes, though never reliably. 

I am disappointed to find a similar situation in SqC 7.0.1. Web-driven playlist scans find nothing in /music/playlists even though the command line tool does when I use:

  sudo /usr/libexec/squeezecenter-scanner --force --rescan --playlists scan.scanner

If I add --debug, I can see it correctly parsing the playlists, but the playlists do not reliably appear in any of: web interface, duet controller, squeezebox2 interface. Sometimes they do, sometimes they don't. 

To reiterate: if I try this from the web interface, it will fail everytime.

Stats: 3 playlists in /music/playlists, all .pls format
       main library is in /music
Comment 1 Michael Herger 2008-04-14 02:19:23 UTC
> I am disappointed to find a similar situation in SqC 7.0.1. Web-driven playlist
> scans find nothing in /music/playlists even though the command line tool does
> when I use:
> 
>   sudo /usr/libexec/squeezecenter-scanner --force --rescan --playlists
> scan.scanner

Sounds like permissions issue to me: Please check permissions on your playlist folder. The biggest difference I'm seeing here is that you're running the scanner as root. SC does not. Thus if the squeezecenter user is not allowed to access that folder it won't be able to scan the files.

> If I add --debug, I can see it correctly parsing the playlists, but the
> playlists do not reliably appear in any of: web interface, duet controller,
> squeezebox2 interface. Sometimes they do, sometimes they don't. 

Please upload a scanner log with all scan.* options set to debug and the scanner run from the web interface.
Comment 2 Chris Owens 2008-04-16 09:05:36 UTC
QA to reproduce for 7.1
Comment 3 Paul Davis 2008-04-18 09:55:16 UTC
i can confirm that fixing the file permissions corrected this issue. i apologize for the noob-ishness of this bug report. i don't understand why the permissions ended up as they did, but hey, thats Rhythmbox :)

obviously, some kind of warning that playlists were found but could not be read might be helpful or useful.
Comment 4 Michael Herger 2008-04-18 10:03:51 UTC
might be part of 6369 - thanks for the feedback.
Comment 5 James Richardson 2008-07-15 15:57:05 UTC
(In reply to comment #3)
> i can confirm that fixing the file permissions corrected this issue. i
> apologize for the noob-ishness of this bug report. i don't understand why the
> permissions ended up as they did, but hey, thats Rhythmbox :)
> 
> obviously, some kind of warning that playlists were found but could not be read
> might be helpful or useful.
> 

Marking bug verified
Comment 6 Chris Owens 2009-07-31 10:19:30 UTC
Reduce number of active targets for SC