Bug 6390 - Add web GUI main menu icons for favorites
: Add web GUI main menu icons for favorites
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: All All
: P4 minor (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-17 10:57 UTC by Mark Miksis
Modified: 2009-09-08 09:15 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
Screenshot illustrating the missing icons (45.54 KB, image/png)
2007-12-19 18:15 UTC, Blackketter Dean
Details
Info Browser Artwork Proposal (63.75 KB, image/png)
2007-12-28 16:17 UTC, ndijulio
Details
"Nature Sounds" Artwork Proposal (17.31 KB, image/png)
2007-12-28 16:18 UTC, ndijulio
Details
small icons (50x50) (11.13 KB, image/png)
2007-12-28 21:24 UTC, Michael Herger
Details
Music Library Artwork (159.87 KB, application/octet-stream)
2008-01-06 16:16 UTC, ndijulio
Details
Music Library Artwork-example icon (14.09 KB, image/png)
2008-01-06 16:17 UTC, ndijulio
Details
Service Provider Artwork-revised set of icons (644.57 KB, application/octet-stream)
2008-01-06 16:19 UTC, ndijulio
Details
New Music Artwork-SC revision (22.59 KB, image/png)
2008-01-28 11:23 UTC, ndijulio
Details
Service Provider Artwork-revised set 7.0.1 release (1019.79 KB, application/octet-stream)
2008-01-28 18:35 UTC, ndijulio
Details
Favorite icons from various sources (28.28 KB, image/jpeg)
2008-04-30 04:41 UTC, Michael Herger
Details
screenshot (29.23 KB, image/png)
2008-05-01 09:31 UTC, Mark Miksis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Miksis 2007-12-17 10:57:47 UTC
Now that some of the Extras have icons on the SC Web GUI, items in the main menu without icons seem noticeable absent.  This enhancement request is to add the following (in approximate priority order):

- Add icons for all items under Extras (part of bug 6386)
- Add icons to all items under Music Library (Artists, Albums, etc)
- Add icons for items under Favorites (have a default icon with the ability for the user to change the icon for each entry)
- Add the ability to display the top-of-gui icons even for non-xmlbrowser plugins (as I understand it, the fix for bug 6279 only applies to xmlbrowser)
- Add icons to the top level menu items (Music Library, Internet Radio, etc) (Not sure about this one...)

I'm not sure if/how this request applies to Jive...
Comment 1 Michael Herger 2007-12-17 11:07:47 UTC
All we need is the artwork. The rest could easily be done.

Dean - should we "order" some work from Scott or Noah?
Comment 2 Blackketter Dean 2007-12-17 11:20:35 UTC
Noah: I think that we should be trying to have icons for all the major areas in the SC web UI (as well as Jive).  How should we work toward getting these made?  Should Scott be doing this?
Comment 3 ndijulio 2007-12-19 18:06:19 UTC
Dean-
As a first step, it would be helpful to map out each area where we need icons.  This could be as involved as the GPS aor simply a running list on the Projects-To Do posting.  From there, we could have a better sense of how many icons we are talking about as well as a way to keep track of the output. Based on the number of icons we could then distribute/create the work more efficiently between Scott and myself.
Comment 4 Blackketter Dean 2007-12-19 18:14:54 UTC
See the attached image for where we're missing icons:
Artists
Albums
Genres
Years
New Music
Random Mix
Music Folder
Playlists
Search Music
Information Browser
Softsqueeze

Let's use this bug as a way to track this issue and make sure we've got coverage.
Comment 5 Blackketter Dean 2007-12-19 18:15:30 UTC
Created attachment 2551 [details]
Screenshot illustrating the missing icons
Comment 6 Mark Miksis 2007-12-26 15:16:57 UTC
(In reply to comment #4)
> See the attached image for where we're missing icons:
> Artists
> Albums
> Genres
> Years
> New Music
> Random Mix
> Music Folder
> Playlists
> Search Music
> Information Browser
> Softsqueeze
> 
> Let's use this bug as a way to track this issue and make sure we've got
> coverage.
> 

Don't forget that OPML Playlist Browser & Editor will also show up under Extras when enabled.

I also still think it would be nice to see something for the user added Favorite items...

Comment 7 Michael Herger 2007-12-26 23:29:34 UTC
What would you like to see for the favorites? User defined icons per station/playlist/whatever?
Comment 8 Blackketter Dean 2007-12-27 04:40:49 UTC
For the favorites, the icon should match the item that is the favorite.  

If it's a pandora station, use the pandora icon, if it's a song or album, use that the appropriate cover art (or placeholder if none is available), etc.  If it's an artist, use the artist placeholder that Noah is creating.
Comment 9 Mark Miksis 2007-12-27 08:27:23 UTC
(In reply to comment #8)
> For the favorites, the icon should match the item that is the favorite.  
> 
> If it's a pandora station, use the pandora icon, if it's a song or album, use
> that the appropriate cover art (or placeholder if none is available), etc.  If
> it's an artist, use the artist placeholder that Noah is creating.
> 
I was just thinking exactly the same thing.  Forget my suggestion that it should be user selectable.
Comment 10 ndijulio 2007-12-28 16:17:04 UTC
Created attachment 2580 [details]
Info Browser Artwork Proposal
Comment 11 ndijulio 2007-12-28 16:18:00 UTC
Created attachment 2581 [details]
"Nature Sounds" Artwork Proposal
Comment 12 Blackketter Dean 2007-12-28 17:08:51 UTC
Great!  Let's get those in there and see how they look.


Comment 13 Michael Herger 2007-12-28 21:24:06 UTC
Created attachment 2582 [details]
small icons (50x50)

change 15711 - here you go
Comment 14 ndijulio 2008-01-06 16:16:51 UTC
Created attachment 2624 [details]
Music Library Artwork

Attached are the missing icons for SqCenter's Music Libary.  The artwork has been formatted similar to the service provider icons.
Comment 15 ndijulio 2008-01-06 16:17:40 UTC
Created attachment 2625 [details]
Music Library Artwork-example icon
Comment 16 ndijulio 2008-01-06 16:19:24 UTC
Created attachment 2626 [details]
Service Provider Artwork-revised set of icons
Comment 17 Michael Herger 2008-01-18 05:57:44 UTC
change 16432 - adding the music library icons

Noah, the "New Music" icon imho is too detailed to be recognizable in the web interface (25x25px).

I'm not sure we can do reasonable Favorites icons. Would need some major rework of the favorites handling. Will "downgrade" this bug to an enhancement request for the future.
Comment 18 KDF 2008-01-18 08:19:59 UTC
Also need a MusicIP Moods icon, and probably a generic icon for each section (Browse, Extras at least) for other items wen they don't have icons. In fact, even just a generic icon of some type could be added through plugin manager if the plugins don't create one of their own.
Comment 19 Michael Herger 2008-01-18 08:24:09 UTC
Should the moods show up like playlists? I've never seen them. 
Comment 20 ndijulio 2008-01-28 11:23:52 UTC
Created attachment 2750 [details]
New Music Artwork-SC revision

Attach is the updated Music Library "New Music," icon for SqueezeCenter
Comment 21 KDF 2008-01-28 12:02:48 UTC
Michael: moods currently get added as a browse menu item when found. They are a custom url/api so would need a protocol handler to relocate them to playlist/favourites.
Comment 22 Michael Herger 2008-01-28 12:19:10 UTC
Thanks Kevin. Meanwhile I have found them (created them using OSX X11 server to connect to my headless box...).
Comment 23 Michael Herger 2008-01-28 12:46:50 UTC
change 16853 - updated New Music artwork
Comment 24 ndijulio 2008-01-28 18:35:24 UTC
Created attachment 2755 [details]
Service Provider Artwork-revised set 7.0.1 release

Most recent set of SC icons as of 01/28/08.
Comment 25 Michael Herger 2008-01-29 00:40:20 UTC
change 16882 - adding MusicIP Moods icon
Comment 26 Michael Herger 2008-01-31 13:22:59 UTC
change 17050 - adding a generic plugin icon for the web UI's Extras menu
Comment 27 Jim McAtee 2008-01-31 13:44:50 UTC
(In reply to comment #7)
> What would you like to see for the favorites? User defined icons per
> station/playlist/whatever?

It seems user defined icons are desired for favorites, but that entails a rework.  As a temporary measure, how about providing icons to distinguish between folders and playable items?  As it stands now, you can' tell the difference until you mouseover the items and view the controls.  When user defined icons are implemented, these icons could then be used for the generic defaults.  For playable items you might also distinguish between local files vs. radio or service items, but that's not as important.
Comment 28 Michael Herger 2008-01-31 13:55:46 UTC
That's what you filed bug 6008 for, isn't it?
Comment 29 Jim McAtee 2008-01-31 14:33:18 UTC
*** Bug 6008 has been marked as a duplicate of this bug. ***
Comment 30 Jim McAtee 2008-01-31 14:34:12 UTC
Thanks.  Didn't realize it was already a part of this discussion.  Favorites are now the only top-level item without icons in the Default skin.
Comment 31 Michael Herger 2008-01-31 14:38:42 UTC
I didn't mean it was already part of this bug, I only meant it was already mentioned elsewhere... Dean - do we want the favorites icons to be done for 7.0?
Comment 32 Blackketter Dean 2008-01-31 17:04:46 UTC
Yes, we want icons for favorites, but I think it's too late for 7.0, unless that information is already available.  Can we pull an icon for the item based on its URL?

Comment 33 Michael Herger 2008-02-01 03:50:09 UTC
Yes, we do know whether a favorite is playable (entry.audio) or a folder (entry.outline). Based on these values we could use different icons. 
Comment 34 Blackketter Dean 2008-02-01 17:42:22 UTC
Michael: do you feel comfortable adding this to the web UI for 7.0?
Comment 35 Michael Herger 2008-02-01 22:57:34 UTC
If we had the artwork, I'd be positive yes. But we don't have them.
Comment 36 Blackketter Dean 2008-02-01 23:17:42 UTC
What artwork is missing and  to populate the Favorites?    

For songs and albums we have the cover art or placeholders; for radio stations, we have the generic radio icon;  we have a folder icon for folders, logos for services (pandora stations, etc...)  

What's missing?

Comment 37 Michael Herger 2008-02-01 23:44:07 UTC
We were talking about favorite or folder, not about album, radio, year etc. We don't have that information available in the data. This would nees some additional work (and lucky guessing).

Comment 38 Blackketter Dean 2008-02-01 23:58:55 UTC
Ok, I think we're misunderstanding each other.  I'm proposing that the items in Favorites have icons corresponding to their content.  Examples:

A favorite that's a song or album will have the artwork for that album.

A favorite that corresponds to a genre, year, playlist, artist, playlist, 

A favorite that corresponds to a playlist would use the generic playlist icon we have.

Pandora stations would use the Pandora icon, Rhapsody the same, etc...

Plain radio stations would use the placeholder radio icon.

Folders could use the musicfolder.png icon for now.

A year would use the generic years icon we have.

I'm guessing that this is too hard for 7.0.  We'll get to it soon.

Comment 39 Michael Herger 2008-03-07 17:30:17 UTC
not a 7.0 bug - punting to 7.1
Comment 40 Michael Herger 2008-04-28 02:59:46 UTC
change 19195 - basic support for per favorite icons, currently service/station or generic icons are used on the web interface, but stored with the favorite.

TBD: Jive/fav web interface, make icon configurable(?), use album art instead of generic art where possible
Comment 41 Michael Herger 2008-04-28 05:50:08 UTC
change 19198 - album art is used as favourite icon for albums/tracks
Comment 42 Michael Herger 2008-04-28 05:51:12 UTC
this actually was change 19199
Comment 43 Mark Miksis 2008-04-29 13:30:32 UTC
Michael, this looks really cool and works great for anything in my music library.  Reopening because I get the generic heart logo instead of the partner icon (for example when setting a Slacker station as a favorite).  Actually, I'm not clear from your comments whether this should work or not.

Also, SC support was recently added for individual station logos for RadioTime stations.  It would be cool if the favorite logo used the station logo rather than the partner logo in this case.  Let me know if you want me to open a separate bug for this.
Comment 44 Michael Herger 2008-04-29 14:04:49 UTC
> icon (for example when setting a Slacker station as a favorite).  Actually, I'm
> not clear from your comments whether this should work or not.

Is it only Slacker? Might be I missed it because I can't test it. But I've successfully tested Pandora/Rhapsody/LMA/Shoutcast. They will not always work, but only as long as the special protocol handler URL is used as a favorite (eg. pandora://). Once it's just a standard http:// url there's not much we can do.

> Also, SC support was recently added for individual station logos for RadioTime
> stations.  It would be cool if the favorite logo used the station logo rather
> than the partner logo in this case.  Let me know if you want me to open a
> separate bug for this.

I expected this bug not to stay closed for long :-P
Comment 45 Mark Miksis 2008-04-29 20:08:00 UTC
I only tested with RadioTime, Rhapsody (a station only) and Slacker.  In all 3 cases, the favorite icon on both SC and the SBC show up as the heart icon.  I added the favorites via SC and they are created in the opml file as follows:

<outline URL="http://opml.radiotime.com/StationPlaylist.axd?stationId=34804&amp;Formats=mp3,wma,real&amp;username=fletch" icon="html/images/favorites.png" text="KQED-FM (San Francisco, CA)" type="audio" />
<outline URL="slacker://stations/3302803/183.mp3" icon="html/images/favorites.png" text="Classic Rock" type="audio" />
<outline URL="rhapd://ps.8647980.rdr" icon="html/images/favorites.png" text="'70s Hits" type="audio" />

This is with today's 7.2.  Let me know if I can provide more details.

> I expected this bug not to stay closed for long :-P

:-)

Comment 46 Michael Herger 2008-04-30 03:46:16 UTC
change 19262
- add favorite icons when adding favorites using player/CLI/Controller interface, too
- add station icon for services which offer them
Comment 47 Michael Herger 2008-04-30 04:41:28 UTC
Created attachment 3310 [details]
Favorite icons from various sources
Comment 48 Mark Miksis 2008-05-01 09:24:12 UTC
I did some more testing and in all cases the favorite picks up the icon that I would expect (and as described by Dean in comment 38).  IMO, it looks very cool, especially on the SBC.  A couple minor comments/issues:

- One of my RadioTime stations (KPCC) is missing the icon on the RadioTime site.  When browsing RadioTime on SC, the icon is just missing, but when used as a favorite it adds additional text that overlaps.  Works fine on the SBC.
- On SC, when I click on a favorite (rather than play or add) and go to the "detail" screen, the large icon is displayed as the generic musical note or radio tower icon, not the custom icon.  Works fine on the SBC.
- What will happen when users upgrade from 7.0 to 7.1?  Will they have to manually remove and re-add all their favorites, or should there be some kind of auto-migration of their favorites that fills in the icons?

Comment 49 Mark Miksis 2008-05-01 09:31:53 UTC
Created attachment 3313 [details]
screenshot

screenshot showing text overlap described in comment 48, issue 1.
Comment 50 Michael Herger 2008-05-01 09:37:42 UTC
> - One of my RadioTime stations (KPCC) is missing the icon on the RadioTime
> site.  When browsing RadioTime on SC, the icon is just missing, but when used
> as a favorite it adds additional text that overlaps.  Works fine on the SBC.

No idea how this could happen. Can you give me the way I have to take through RadioTime to ge to this station?

> - On SC, when I click on a favorite (rather than play or add) and go to the
> "detail" screen, the large icon is displayed as the generic musical note or
> radio tower icon, not the custom icon.  Works fine on the SBC.

Please open a new bug for that issue. I'd like to get this one closed :-).

> - What will happen when users upgrade from 7.0 to 7.1? 

The icons will be updated whenever the .opml file is loaded. If there's no icon in the file, it will be looked up. If it's a db query, it will be updated as well, as a db scan can change album IDs etc.
Comment 51 Mark Miksis 2008-05-01 09:50:13 UTC
(In reply to comment #50)
> No idea how this could happen. Can you give me the way I have to take through
> RadioTime to ge to this station?

Just go to radiotime.com, search for "KPCC" and add it to your RadioTime favorites.  On SC, browse RadioTime->MyRadio and add KPCC to your SC favorites.
 
> > - On SC, when I click on a favorite (rather than play or add) and go to the
> > "detail" screen, the large icon is displayed as the generic musical note or
> > radio tower icon, not the custom icon.  Works fine on the SBC.
> 
> Please open a new bug for that issue. I'd like to get this one closed :-).

Will do.

> The icons will be updated whenever the .opml file is loaded. If there's no icon
> in the file, it will be looked up. If it's a db query, it will be updated as
> well, as a db scan can change album IDs etc.

Ah, I see now.  If a favorite already has icon="html/images/favorites.png", it won't get updated to the correct icon, but if icon= is missing it pulls in the proper icon.
Comment 52 Jim McAtee 2008-05-01 09:59:12 UTC
(In reply to comment #50)

> The icons will be updated whenever the .opml file is loaded. If 
> there's no icon in the file, it will be looked up. If it's a db
> query, it will be updated as well, as a db scan can change album
> IDs etc.

That sounds like a potentially expensive operation.  When does the .opml file get loaded?  I can see people with many, many favorites.  Hitting a lot of random URLs out on the 'net could take quite a while.

Comment 53 Michael Herger 2008-05-01 10:07:29 UTC
> That sounds like a potentially expensive operation.

That's why it's only doing it for empty icons. It's mostly a one time action.

> When does the .opml file get loaded?

When favorites are accessed for the first time. Typically when loading the web UI.
Comment 54 Jim McAtee 2008-05-01 10:24:24 UTC
I see a heart icon for both folders and file favorites.

I think maybe a different icon - maybe the music notes - might be better for local files - using the heart icon is kind of redundant under Favorites.

Any chance that icons could be displayed at the edit level?  Just something to distinguish between folders and playable items without having to mouseover.

Also, I just copied a Slacker favorite (New Favorite, give it a name and enter a Slacker link) and it received a heart icon.
Comment 55 Michael Herger 2008-05-01 10:36:36 UTC
> > The icons will be updated whenever the .opml file is loaded. If there's no icon
> > in the file, it will be looked up. If it's a db query, it will be updated as
> > well, as a db scan can change album IDs etc.

I'm sorry for the confusion, I wasn't very clear: when the update is done during the import of existing files, they will _not_ have the original station icon. This data is only available when browsing the various directories. Instead the generic plugin icon will be used.

Comment 56 Michael Herger 2008-05-01 10:38:20 UTC
> Also, I just copied a Slacker favorite (New Favorite, give it a name and enter
> a Slacker link) and it received a heart icon.

Icons are only found when added from within their browse structure. This information is only available when browsing, no way to look it up afterwards (see my previous comment).
Comment 57 Jim McAtee 2008-05-01 11:08:14 UTC
(In reply to comment #56)
> Icons are only found when added from within their browse structure. This
> information is only available when browsing, no way to look it up afterwards
> (see my previous comment).

If a URL begins with 'slacker://' (and I imagine other service playables have similar urls) I would have thought you'd just use the Slacker icon.
Comment 58 Michael Herger 2008-05-01 11:23:30 UTC
> If a URL begins with 'slacker://' (and I imagine other service playables have
> similar urls) I would have thought you'd just use the Slacker icon.

You entered this and it ended up with the generic Favorites icon? It should do what you say. Will check.
Comment 59 Mark Miksis 2008-05-01 20:07:33 UTC
(In reply to comment #50)
> > - One of my RadioTime stations (KPCC) is missing the icon on the RadioTime
> > site.  When browsing RadioTime on SC, the icon is just missing, but when used
> > as a favorite it adds additional text that overlaps.  Works fine on the SBC.
> 
> No idea how this could happen. Can you give me the way I have to take through
> RadioTime to ge to this station?

I reported this to RadioTime and they agreed to fix it.  It also looks like they've added a placeholder icon to stations that are missing one.  I suggest you don't spend any time on this part of my report.  (And you probably won't be able to reproduce it anymore anyway...)
Comment 60 Michael Herger 2008-05-05 03:52:16 UTC
Thanks for the feedback. They now indeed deliver a generic icon.
Comment 61 Michael Herger 2008-05-05 04:22:22 UTC
change 19431 - adding the favorite icon to the detail page.
Comment 62 Mark Miksis 2008-05-06 09:29:11 UTC
Sorry Michael...

I just noticed that if I navigate (on SC) to Slacker->artist-search-> and then add the favorite, it picks up the generic radio station icon instead of the Slacker one.  Probably because the favorite is added as "http://www.squeezenetwork.com/api/slacker/v1/opml..." instead of "slacker://stations...".
Comment 63 Michael Herger 2008-05-07 04:37:02 UTC
> Sorry Michael...

You better be... :-)

> "http://www.squeezenetwork.com/api/slacker/v1/opml..." instead of
> "slacker://stations...".

I fear we'll have to add hacks for this kind of url for most services. 

change 19523 - please give it another try. Thanks!
Comment 64 Mark Miksis 2008-05-07 10:42:01 UTC
The Slacker favorite icons now work as expected.  Further testing reveals that some of the favorites themselves don't quite work as expected, but that'll be another bug...

> I fear we'll have to add hacks for this kind of url for most services. 

Yeah.  I don't have paid subscriptions for the other services so I can't really test them myself.
Comment 65 Michael Herger 2008-05-07 12:07:01 UTC
Ok, then I'll try to close that bug again... Thanks for testing!
Comment 66 Chris Owens 2008-07-30 15:30:13 UTC
This bug has now been fixed in the 7.1 release version of SqueezeCenter!  Please download the new version from http://www.slimdevices.com if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 67 Chris Owens 2009-07-31 10:15:26 UTC
Reduce number of active targets for SC