Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Jun 2012
    Posts
    356

    CLI : favorites playlist play doesn't understand online integration urls

    Hi

    I can post this as a bug, but wondered if anyone else had come across it. It looks like the cli

    Code:
    favorites playlist play
    doesn't understand the modern url syntax - used for online music integration for example. If I have a favourite pointing to, say, classic fm, I can play it using

    Code:
    favorites playlist play search:Classic%20FM
    However, if I use the same approach to play a favourite which points to local music, or online music (qobuz, tidal), they don't play. Playing the favourites through the UI works fine of course.

    If I do

    Code:
    favorites items 0 1 search:SomeTidalFavourite want_url:1
    I can get the response including the url. Extracting the url (as favouriteurl say), I can then do

    Code:
    playlist play favouriteurl
    So, I guess playlist play was updated to understand the new syntax, but favorite playlist play wasn't.

    Anyone else seen this?

    pete S

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,524

    CLI : favorites playlist play doesn't understandonline integration urls

    > doesn't understand the modern url syntax - used for online music

    What do you mean by "modern url syntax"? If there's anything that hasn't
    changed with the online music library integration, then it's the URL
    schemas...

    > --------------------
    > favorites playlist play search:Classic%20FM
    > --------------------


    In this case you're not playing a URL, but the result of a search.

    > However, if I use the same approach to play a favourite which points to
    > local music, or online music (qobuz, tidal), they don't play. Playing
    > the favourites through the UI works fine of course.


    How exactly would your command look like? Anything in server.log when
    you fail to play an item this way?

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Jun 2012
    Posts
    356
    Quote Originally Posted by mherger View Post
    > doesn't understand the modern url syntax - used for online music

    What do you mean by "modern url syntax"? If there's anything that hasn't
    changed with the online music library integration, then it's the URL
    schemas...

    > --------------------
    > favorites playlist play search:Classic%20FM
    > --------------------


    In this case you're not playing a URL, but the result of a search.

    > However, if I use the same approach to play a favourite which points to
    > local music, or online music (qobuz, tidal), they don't play. Playing
    > the favourites through the UI works fine of course.


    How exactly would your command look like? Anything in server.log when
    you fail to play an item this way?

    --

    Michael
    Hi Michael

    OK, I'm assuming it's to do with the URL syntax because that's the only difference I can see. So, if I have 2 favourites saved in my LMS favourites list as follows

    Classic FM : URL : http://icecast.thisisdax.com/ClassicFMMP3
    Aladdin Sane : URL : db:album.title=Aladdin%20Sane%20(2013%20Remaster)

    If I do

    00:04:20:xx:xx:xx favorites playlist play search:Classic%20FM

    that works fine but

    00:04:20:xx:xx:xx favorites playlist play search:Aladdin%20Sane

    will turn on the player if it's off, but doesn't update the playlist.

    Server.log shows

    [21-01-03 20:51:14.0449] Slim::Player::Song::new (113) Error: Could not find handler for db:album.title=Aladdin%20Sane%20(2013%20Remaster)!

    pete S

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,524

    CLI : favorites playlist play doesn't understandonline integration urls

    > Classic FM : URL : http://icecast.thisisdax.com/ClassicFMMP3
    > Aladdin Sane : URL : db:album.title=Aladdin%20Sane%20(2013%20Remaster)


    But playing that URL directly would work?

    --

    Michael

  5. #5
    Senior Member
    Join Date
    Jun 2012
    Posts
    356
    Quote Originally Posted by mherger View Post
    > Classic FM : URL : http://icecast.thisisdax.com/ClassicFMMP3
    > Aladdin Sane : URL : db:album.title=Aladdin%20Sane%20(2013%20Remaster)


    But playing that URL directly would work?

    --

    Michael
    So, that's the URL that gets added to the LMS favourites if you add it through the LMS UI - i.e. just find it through My Music and click the heart. Playing the favorite through the UI then works fine. I can also play that URL through "tune in" directly. I also get the same if I create a favourite for an album in my local library. So, if I create a favourite for an album called "13", it creates a url

    db:album.title=13

    Same behaviour. I can play the album from LMS UI favourites, I can tune in directly to that URL (by editing it in favourites and copying it), I can play that URL via

    playlist play db:album.title=13

    but trying to play via the favourite in cli doesn't work where the url of the favourite looks like db:album.title=.....

    pete S

Posting Permissions

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