artist's images on 'Now Playing'-screen - 2009/10/31 16:28The Last.FM ‘Now Playing’-screen displayed artist’s images at the bottom; this was quite nice.
Is it possible to have these images on the standard ‘Now Playing’-screen alternating the next/previous song info eg every 30 seconds? Would be great …
regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1319 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2009/11/07 11:28hummm, no replies … not interesting enough I’m afraid …
OK, I’ll try to create by myself, but need some guidance. Function artist_images( ) in file ‘/ext/lastfm/lastfm.php’ (row 280 through 319) gives an array of artist pictures. Now, I suppose function image_rand_pics in file ‘/base/image_screens.php’ creates the bar of artist pictures (at the bottom of the late ‘Last.FM Now Playing’-screen).
So, how should I link up both functions, I’m missing the clue …
Many thanks in advance, regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1322 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
Stu2j
User
Posts: 2307
Re: artist's images on 'Now Playing'-screen - 2009/11/07 11:45I currently use the enhanced pch screen but this sounds like it would be a nice addition to the standard screen...Showcenters 1000g/250HD/Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage Hauppauge HVR 1600 GB-PVR
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2009/11/07 11:53yep, that's the idea ... for many NAS servers, the enhanced 'Now Playing'-screen is too heavy, so I thought of combining the standard screen with the Last.FM screen (for those who remember). Moreover it can be easily added to the radio 'Now Playing'-screen (see also here) --------------------------------------------------------------------------- SwissCenter SVN 1322 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2009/11/08 09:25Function artist_images( ) in file ‘/ext/lastfm/lastfm.php’ (row 280 through 319) returns, except for images, also the strings themselves. Should this be?
regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1322 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2009/11/13 18:19no one any clue ...
hope anyone can help me out, regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1330 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2009/11/24 16:12Hi Nigel,
Now you're here, could you give me a first clue how to work this out?
many thanks & regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1337 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 2783
Re: artist's images on 'Now Playing'-screen - 2009/11/24 17:42I'm always here, just didn't want yet another variation on this screen. The normal Now Playing screen is supposed to be synchronised with each track. To do what you suggest is not a simple case of updating the screen layout with some images, you also have to change the way in which the screen is passed to the player to swap between images and prev/next tracks.
A better idea would be to change the layout of the screen to include both images AND prev/next track details. Then we could also use it for radio too.Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208) Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32 Server : Windows 7 Home Premium 64bit Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD AV : Pioneer VSX-915 | Samsung LE40C650
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2009/11/24 18:46I'm always here ... ha ha ... I know, just a teaser to get your reply
OK, now for serious
A better idea would be to change the layout of the screen to include both images AND prev/next track details. Would be execellent, but how to deal with the limitations of the screen surface, where would you suggest to put the images? Or do you reconsider the entire lay-out of the standard 'Now Playing'-screen?
regards, Klaas
BTW what's your opinion on this thread? Could we implement something like this? --------------------------------------------------------------------------- SwissCenter SVN 1337 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 2783
Re: artist's images on 'Now Playing'-screen - 2009/11/24 19:05klaasvaak wrote: Would be execellent, but how to deal with the limitations of the screen surface, where would you suggest to put the images? Or do you reconsider the entire lay-out of the standard 'Now Playing'-screen? Yes, redesign the whole screen layout, smaller font, less spacing, but not too overcrowded.
BTW what's your opinion on this thread? Could we implement something like this? It's a long thread, which part are you referring to? I'd prefer artist images on the radio screens (remove station logos from config?). I wouldn't want to rely on too many other sites for the images though so would prefer to always use Last.fm.Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208) Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32 Server : Windows 7 Home Premium 64bit Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD AV : Pioneer VSX-915 | Samsung LE40C650
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2009/11/24 19:34Hi Nigel,
Main thing I suggest (and tried to implement) is to link up the AlbumArt stored in the DB based upon the combination of artist and track title; this may provide other info stored in the DB (album, year , composer) as well. If not available an artist image could be retrieved from the web (Last.FM would be indeed the best option, but for me too difficult to develop, so I used simpler sites, like IMG and MTV). Finally, if there’s no AlbumArt nor artist image available, we can use the station's logo.
In addition, I created a directory of artist images to feed the “music selected”-screen (see here) that also can be used as artist image. However, if that could be replaced with images from Last.FM would be much better.
Have a look at the code of ‘base/image_screens.php’ and ‘music_selected.php’, and you’ll see what I mean …
regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1337 Simese 2.5.9 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0914 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2010/01/16 15:38Hi Nigel,
Did you find the time to have look at this issue already? Or any thoughts maybe ...
regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1361 Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.2-0959 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: artist's images on 'Now Playing'-screen - 2010/03/01 16:50Hi Nigel,
Any news about this? In short I think the radio 'Now Playing'-screen can be made even better by:
[1] linking the combination track title and artist retrieved from the radio stream with info in the database, so albumart, composer, album title and year can be shown (note, the composer could appear on the standard 'Now Playing'-screen as well); [2] for those tracks not available in the DB an albumart of artistart (eg. from a local source or if not available from Last.FM) can be presented. In case no artfile can be found, we may get the stationart.
I did some exercises with pretty good results; at least for me and some others I know of. Although the code is open for improvement, but it may give some idea. You can find them in these threads here and here.
looking forward to your reply,
regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1388 Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.3-1118 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.