Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 35

Hybrid View

  1. #1
    Senior Member kappclark's Avatar
    Join Date
    Apr 2009
    Location
    Southern VT, USA
    Posts
    183

    icons for favorites

    Hello -

    I have been looking and looking for how to change the icon for favorites inside LMS. I am running Logitech Media Server Version: 7.9.1 -- I have looked in the /var/lib/squeezeboxserver directories etc, and after looking at the "icon=" text, I cannot figure out how to make the change from file favorites.png to another icon ..

    Here is the line from favorites.opml I wish to modify - I would like to change the default icon

    icon="html/images/favorites.png" text="FM"

    Any help appreciated

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,297
    The icon paramter can be a partial URL (the remainder of path is within LMS directory) as in Favorites - the file you refer to is in the Favorites plugin directory - something like Plugin/Favorites/HTML/EN/html/images/favorites.png

    However you can have a full URL such as icon="http://radio-service-information.api.bbci.co.uk/logos/bbc_radio/600x600.png" for a BBC station logo
    Last edited by bpa; 2018-12-28 at 15:54.

  3. #3
    Senior Member kappclark's Avatar
    Join Date
    Apr 2009
    Location
    Southern VT, USA
    Posts
    183
    Thx for the BBC link - I will try this as a substitute to replace the icon= statement inside favorites.opml

    Cheers

  4. #4
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,297
    Quote Originally Posted by kappclark View Post
    Thx for the BBC link - I will try this as a substitute to replace the icon= statement inside favorites.opml

    Cheers
    If you want to change the default picture for ALL - then change the favorites.png file in the LMS directory.

  5. #5
    Senior Member kappclark's Avatar
    Join Date
    Apr 2009
    Location
    Southern VT, USA
    Posts
    183
    Please - forgive my confusion .. looking for "HTML 101" answer --

    I was able to change a radio icon (secret agent) with a cover of a local album I have on the network server .. edited favorites.opml using nano with no plms..

    http://10.209.162.144:9000/music/216105/cover.png (will display the thumbnail)

    BUT - for the life of me, I cannot find the actual file when using ssh -- not in /var/www/html ... is there an alternate directory for port 9000 ??

    I understand that SBS uses port 9000 -- but where is the actual file stored on the server ?? this is such basic stuff - but help appreciated...

    Bill Clark
    Attached Images Attached Images  

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,297
    Quote Originally Posted by kappclark View Post
    Please - forgive my confusion .. looking for "HTML 101" answer --

    I was able to change a radio icon (secret agent) with a cover of a local album I have on the network server .. edited favorites.opml using nano with no plms..

    http://10.209.162.144:9000/music/216105/cover.png (will display the thumbnail)

    BUT - for the life of me, I cannot find the actual file when using ssh -- not in /var/www/html ... is there an alternate directory for port 9000 ??

    I understand that SBS uses port 9000 -- but where is the actual file stored on the server ?? this is such basic stuff - but help appreciated...

    Bill Clark
    Ports are only to do with network - nothing to do with file. LMS has no directories with "www". Files can be served from anywhere on any port - http URLs have rarely anything to do with file paths

    1. Find the top level directory where you LMS application is saved (e.g. look for the file convert.conf)
    2. at a shell prompt "cd" to the directory
    3. then use the following command find . -name "favorites.png"

  7. #7
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,013
    I thought some more about it ...
    If you really can hear a difference between the flac stream and their 320k MP3 then next step is to work out where foobar2000 gets the metadata from.

    TuneIn probably has it because the radio station pushes the data to TuneIn using a TuneIn proprietary API (I do the same for a station I am involved with).

    If TuneIn knew about the flac stream and offered it to LMS players then LMS would show the song info if the favourite URL was set to a TuneIn one.

    So, if the station cannot get TuneIn to add the flac URL then rather than trying to parse the station HTML it might be possible to trick LMS into thinking that the stream URL came from TuneIn ... or replicate some of the TuneIn code and fetch the song info from there.

    If foobar2000 is finding the song info within the flac stream itself then LMS, with a software update, should be able to do the same.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  8. #8
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,635
    Paul,

    this is the stream I'm interested in (JB no longer offer the flac stream )

    http://199.189.87.9:10999/opus-512

    Name:  LMS.png
Views: 69
Size:  87.6 KB

    and this is the same stream in foobar

    Name:  foobar.png
Views: 70
Size:  65.2 KB

    ronnie

  9. #9
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,013
    Ok - but same theories apply.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  10. #10
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,635
    Quote Originally Posted by Paul Webster View Post
    Ok - but same theories apply.
    Agree

Posting Permissions

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