Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Last.fm on the Popcorn Hour!
10-27-2008, 04:39 PM
Post: #16
RE: Last.fm on the Popcorn Hour!
Hi sammael,

great plugin!

Would it be possible to have the artist information displayed while listening? Perhaps only as an option (for those who like the black screen better)...

OZ
Find all posts by this user
10-27-2008, 07:09 PM
Post: #17
RE: Last.fm on the Popcorn Hour!
Unfortunately, NMT doesn't allow doing stuff (in this case getting files via http) while playing music, so it'll be difficult. There is some hope in using "pod" in slideshow view mode. I'll think about making a script that fetches cover, info of current song from last.fm and puts them in a jpeg file that is refreshed every N seconds by the slideshow. Maybe this is some solution, but it'll generate some extra traffic and load on my server.

BTW, do you have black screen during playback? You should see last.fm logo: http://nmt.kowalczuk.eu/last.fm/img/wallpaper.jpg
Visit this user's website Find all posts by this user
10-28-2008, 08:41 AM
Post: #18
RE: Last.fm on the Popcorn Hour!
I can see the last.fm logo for a few seconds and then it is faded out. That is ok.
Find all posts by this user
10-28-2008, 09:33 AM
Post: #19
RE: Last.fm on the Popcorn Hour!
Idiot question alert! I've never used last.fm, although I was a big fan of Pandora. Can someone give me a quick overview of how this implementation works (ie the best way to use it, and exactly what the various 'radio' buttons actually give you - I'm a bit vague on the distinction between group radio/tag radio/user radio etc)
Thanks!
Find all posts by this user
10-28-2008, 11:49 AM
Post: #20
RE: Last.fm on the Popcorn Hour!
oz-70: On my NMT logo doesn't dissappear. Strange.

Squeek: When you type "Metal" in the text field and press "group radio", you will be listening to a radio of a last.fm group named "Metal": http://www.last.fm/group/Metal, when you press "Tag radio" you will listen to music tagged as "Metal": http://www.last.fm/tag/metal, and when you press "User radio" you will listen to Metal's (last.fm user Metal) radio: http://www.last.fm/user/metal
Visit this user's website Find all posts by this user
10-28-2008, 12:00 PM
Post: #21
RE: Last.fm on the Popcorn Hour!
sammael - many thanks for the quick guide, that makes sense! So I could set up my account via the PC and main website, stick my favourite artists in it and then select my own username and the User radio option?

Great little app/plugin btw, many thanks for putting this together...now I just need something that does BBC iPlayer and I'm sorted Smile
Find all posts by this user
10-28-2008, 12:29 PM (This post was last modified: 10-28-2008 12:30 PM by sammael.)
Post: #22
RE: Last.fm on the Popcorn Hour!
Favourite music is collected when you listen to music using a player that commits listened music to last.fm (such as Winamp, foobar with last.fm plugin or Amarok), so you'll need to listen to some music on your PC, if you want to use "user radio". But still, you can use "Artist radio" - last.fm will pick artists that are similar to the one you selected. Or you can use "Tag radio".
Visit this user's website Find all posts by this user
10-28-2008, 03:44 PM
Post: #23
RE: Last.fm on the Popcorn Hour!
gotcha. thanks!
Find all posts by this user
10-28-2008, 04:09 PM (This post was last modified: 10-28-2008 04:11 PM by coendeurloo.)
Post: #24
RE: Last.fm on the Popcorn Hour!
Sammael - I think It's great the logo fades out, even though it's not intentional. I just want to listen to the music. When you have an HDTV, the logo is pretty bright and huge (though nice, just not for all the time)

Is it possible to integrate a play button for 'my playlist'? Too bad playing 'loved tracks' isn't possible...

Track info would be nice indeed, but if it's impossible...oh well Smile

[Image: warningallok.jpg]
Visit this user's website Find all posts by this user
10-28-2008, 04:33 PM
Post: #25
RE: Last.fm on the Popcorn Hour!
Isn't "User radio" the same thing?
Visit this user's website Find all posts by this user
10-28-2008, 08:07 PM (This post was last modified: 10-28-2008 08:12 PM by coendeurloo.)
Post: #26
RE: Last.fm on the Popcorn Hour!
No, as a subscriber you can add certain tracks to a playlist. You can name this playlist and play it (numbers play at a random sequence though). It needs to have a minimum of 45 tracks from 15 different artists if I'm correct.

Is the last.fm API still under development? because it would be nice if we'd be able to use these vital (for me at least) Last.fm functions
You can get the last 50 loved tracks by a certain user with this: http://www.last.fm/api/show?service=329, but I'm sure you've seen that.

With this one you can fetch a users' playlist, though I'm not sure if this is usable in the way we want to? http://www.last.fm/api/show?service=313

[Image: warningallok.jpg]
Visit this user's website Find all posts by this user
10-28-2008, 09:21 PM
Post: #27
RE: Last.fm on the Popcorn Hour!
LasfFM plugin won this months plugin contest, well deserved Big Grin
Find all posts by this user
10-29-2008, 12:08 PM
Post: #28
RE: Last.fm on the Popcorn Hour!
coendeurloo: I don't know if API is still under development, there's no official documentation. My plugin is based on: http://code.google.com/p/thelastripper/w...umentation
As you can see in appendix A (List of Last.FM URIs) there is a way to engage playlist (it was returning error for me, so I didn't implement it, now I know why the error could occur - I'm not a last.fm subscriber).

I'll try to add this functionality for you, but I need some feedback. Could you do the following steps?
1) Log in to my plugin using standard PC browser (you will have debug turned on):
http://nmt.kowalczuk.eu/last.fm/index.php?debug=1
2) Enter your login in the text field and press "User radio"
3) We are interested in the first line of debug, something like this:
Code:
http://ws.audioscrobbler.com/radio/adjust.php?session=0b0c750f203ce89120571f5e12921f95&url=lastfm://user/coendeurloo/personal
4) Copy the line and paste to a new browser window, change the "lastfm://user/coendeurloo/personal" to "lastfm://user/coendeurloo/playlist" and confirm
5) I get "response=FAILED error=1", could you check if you get "response=OK (...)"?
6) If not, could you experiment with other syntax? For example: "lastfm://user/coendeurloo/playlist/playlist_name" "lastfm://user/coendeurloo/playlist_name/playlist" etc.
7) Could you also try: "lastfm://user/coendeurloo/loved" - I get an error, so probably it could work too. :) (when I replace "loved" with any other word, excluding "playlist", I get response=OK, so both "loved" and "playlist" have special meaning in the protocol)
Visit this user's website Find all posts by this user
10-29-2008, 04:25 PM
Post: #29
RE: Last.fm on the Popcorn Hour!
I've added "Donate" button (visible only if using non-NMT browser) on http://nmt.kowalczuk.eu/last.fm/ . You may buy me a beer, if you find my plugin useful. :)
Visit this user's website Find all posts by this user
10-29-2008, 04:54 PM
Post: #30
RE: Last.fm on the Popcorn Hour!
Crickey you won a free A110 and you still want donations!
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  does www.vreel.net work on popcourn hour a - 110? Skallgrim 0 2,476 12-13-2008 09:51 PM
Last Post: Skallgrim

Forum Jump: