Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    105

    Only new playlists work, after a rescan they appear empty

    1. I have some old playlists. They now appear empty for some reason.
    2. I created a new playlist and this one worked.
    3. I did a rescan.
    4. Now this new playlist appears to be empty, too.


    What could be the reason? I had some permission trouble, but if LMS is able to create a new playlist, it should be able to read the old one, too, shouldn't it?
    LMS 7.9.1@1.05 (digimaster) / QNAP 469L QTS 4.3.4

  2. #2
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,485
    Code:
     ls -l|grep playlist
    drwxrwxrwx   2 jan lms      4096 Jan  8 19:00 [playlist]
    jan is my username
    lms is the group for squeezeboxuser me and the backup user
    Last edited by DJanGo; 2018-01-08 at 11:10.

  3. #3
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    105
    Quote Originally Posted by DJanGo View Post
    Code:
     ls -l|grep playlist
    drwxrwxrwx   2 jan lms      4096 Jan  8 19:00 [playlist]
    jan is my username
    lms is the group for squeezeboxuser me and the backup user
    Code:
    ls -l|grep Playlists
    drwxrwx---   3 dolodobendan   everyone        4096 Jan  8 17:38 Playlists/
    Newly created playlists have rw-rw----, with squeezeboxserver as owner and group. And they work - Until I do a rescan.
    LMS 7.9.1@1.05 (digimaster) / QNAP 469L QTS 4.3.4

  4. #4
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,485
    Quote Originally Posted by dolodobendan View Post
    Code:
    ls -l|grep Playlists
    drwxrwx---   3 dolodobendan   everyone        4096 Jan  8 17:38 Playlists/
    Newly created playlists have rw-rw----, with squeezeboxserver as owner and group. And they work - Until I do a rescan.
    What should that tell me?
    What should that tell you?

    drwxrwxrwx 2 jan lms 4096 Jan 8 19:00 [playlist]

  5. #5
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    105
    Quote Originally Posted by DJanGo View Post
    What should that tell me?
    What should that tell you?

    drwxrwxrwx 2 jan lms 4096 Jan 8 19:00 [playlist]
    Right now, I'm not sure what you're trying to tell me. Is it "playlists get the wrong permissions when created via LMS"?
    LMS 7.9.1@1.05 (digimaster) / QNAP 469L QTS 4.3.4

  6. #6
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,485
    Quote Originally Posted by dolodobendan View Post
    Right now, I'm not sure what you're trying to tell me. Is it "playlists get the wrong permissions when created via LMS"?
    Its quite simple.

    My setup works - your setup didnt work.
    I use these settings - youre using other settings.
    simple isnt it?

  7. #7
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    105
    Quote Originally Posted by DJanGo View Post
    Its quite simple.

    My setup works - your setup didnt work.
    I use these settings - youre using other settings.
    simple isnt it?
    Actually, it is not.

    1. On QNAP systems, you don't touch these octal permissions.
    2. Settings permission to 0777 is pretty much a crime.
    3. Settings permission to 0777 doesn't solve this problem.

    Not that simple then, is it.
    LMS 7.9.1@1.05 (digimaster) / QNAP 469L QTS 4.3.4

  8. #8
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,485
    Quote Originally Posted by dolodobendan View Post
    Actually, it is not.

    1. On QNAP systems, you don't touch these octal permissions.
    *lol* you might ask me - why i didnt like qnaps

    Quote Originally Posted by dolodobendan View Post
    2. Settings permission to 0777 is pretty much a crime.
    Yapp but my Server is save and its only the playlistfolder.
    I just changed to 775 and do a rescan, but i think the crime 777 wasnt my 1st choice.
    I report back after the scan is completed.
    Quote Originally Posted by dolodobendan View Post
    3. Settings permission to 0777 doesn't solve this problem.
    Did you stop lms after changing the permissions?

  9. #9
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    105
    Quote Originally Posted by DJanGo View Post
    *lol* you might ask me - why i didnt like qnaps
    As you might have noticed, I don't feel so confident in the linux world, so I'm ok with don't having to mess with it too much.

    Quote Originally Posted by DJanGo View Post
    Yapp but my Server is save and its only the playlistfolder.
    I think my server is safe, but then again, no system is safe.

    Quote Originally Posted by DJanGo View Post
    I just changed to 775 and do a rescan, but i think the crime 777 wasnt my 1st choice.
    I report back after the scan is completed.
    Thank you.

    Quote Originally Posted by DJanGo View Post
    Did you stop lms after changing the permissions?
    No, I'll give it a try now.

    Edit:

    Ok, I found out why the playlist are empty. It's not because because the playlist file couldn't be read. It's because the files listed in it couldn't be read. Which is fascinating, because I can add them to a new WORKING playlist (until I rescan the whole thing) while listening to them.

    I asked about this particular error here today: http://forums.slimdevices.com/showth...IsVal-id-(125) but I'm still waiting for an answer to the question mentioned in the headline.

    For some reason I thought this only affects player's playlists.

    The new question is, why can't the scanner scan the file in the playlist while it can scan it as a file? And I get the feeling it's the playlist's encoding.
    Last edited by dolodobendan; 2018-01-08 at 15:18. Reason: New revelations.
    LMS 7.9.1@1.05 (digimaster) / QNAP 469L QTS 4.3.4

  10. #10
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,485
    Quote Originally Posted by dolodobendan View Post
    I think my server is safe, but then again, no system is safe.
    [OT]AFAIK my System is safe and i do some very nice tricks to make my Network safe as possible[/OT]

    774 seems to work - just updated the wiki

    btw. make sure squeezeboxserver is in group everyone...
    cat /etc/group | grep squeezeboxserver

    or even better add a group for you and squeezeboxserver like mentioned in the wiki article and chown you and that group to you lms used files...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •