Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    1,446

    Playlist "overwrite dialogue" without anything to overwrite and no warning

    I installed LMS on a new server and there are still some things that don't work, but that was to be expected. For example, I just learned that playlists cannot be saved due to some permission issue.

    The problem is that there was no mentioning of any error in the default Web UI. Trying to save the playlist again under the same name even prompted that "Confirm Overwrite" dialogue, despite the fact that the file wasn't created the first time (but there are entries in the server.log.) Material did prompt a message that the playlist could not be saved.


    Erm, to the permission thing, I mounted the share like this:

    Code:
    sudo mount -t cifs //server/Multimedia /mnt/ -o rw,user=squeezeboxuser
    But I also have to write something in FSTAB, right?

    Like

    Code:
    //server/Multimedia /mnt cifs uid=squeezeboxserver,gid=everyone
    maybe?
    QLMS 8.3@2.21 x64 (digimaster) / QNAP 469L QTS 4.3.4
    LMS 8.3 x64 / Intel NUC8 i3

  2. #2
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    6,234
    Quote Originally Posted by dolodobendan View Post
    I installed LMS on a new server and there are still some things that don't work, but that was to be expected. For example, I just learned that playlists cannot be saved due to some permission issue.

    The problem is that there was no mentioning of any error in the default Web UI. Trying to save the playlist again under the same name even prompted that "Confirm Overwrite" dialogue, despite the fact that the file wasn't created the first time (but there are entries in the server.log.) Material did prompt a message that the playlist could not be saved.


    Erm, to the permission thing, I mounted the share like this:

    Code:
    sudo mount -t cifs //server/Multimedia /mnt/ -o rw,user=squeezeboxuser
    But I also have to write something in FSTAB, right?

    Like

    Code:
    //server/Multimedia /mnt cifs uid=squeezeboxserver,gid=everyone
    maybe?
    As I put in another thread try

    Code:
    sudo mount -t cifs //server/Multimedia /mnt/ -o rw,user=yourwindowsuseraccount
    Jim
    https://jukeradio.double6.net


    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Radio
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

  3. #3
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    1,446
    Quote Originally Posted by d6jg View Post
    As I put in another thread
    Yeah, sorry about that. I thought it would be best to start a new thread for this new problem.

    Quote Originally Posted by d6jg View Post
    try

    Code:
    sudo mount -t cifs //server/Multimedia /mnt/ -o rw,user=yourwindowsuseraccount
    That didn't work, but not because you are wrong but because what I was trying was wrong. I had to mount "Music" and "Playlists" as different shares and bent the "Playlists" share to the ubuntu user "squeezeboxserver" usings its uid and gid:

    Code:
    sudo mount -t cifs -o username=squeezeboxserver,uid=123,gid=1001 //192.168.178.1/Playlists /mnt/NAS/Playlists
    sudo mount -t cifs -o username=squeezeboxserver,uid=1000,gid=1000 //192.168.178.1/Music-Test /mnt/NAS/Music
    I just tried it again (rw instead of uid/gui):

    Code:
    sudo mount -t cifs -o rw,username=squeezeboxserver //192.168.178.1/Playlists /mnt/NAS/Playlists
    LMS doesn't get write access to the share.

    @Michael:

    There's a typo in LMS when a playlist -> "could not" be written.
    QLMS 8.3@2.21 x64 (digimaster) / QNAP 469L QTS 4.3.4
    LMS 8.3 x64 / Intel NUC8 i3

  4. #4
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    1,446
    Quote Originally Posted by dolodobendan View Post
    @Michael:

    There's a typo in LMS when a playlist -> "could not" be written.
    It's in

    /slimserver/Slim/Formats/Playlists/base.pm line 86:

    Code:
    			logError("Could't open $filename for writing.");
    There's also

    /slimserver/CPAN/Log/Log4perl/Config.pm, line 613:

    Code:
                    die "Log4perl couln't get $config, ".
    QLMS 8.3@2.21 x64 (digimaster) / QNAP 469L QTS 4.3.4
    LMS 8.3 x64 / Intel NUC8 i3

Posting Permissions

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