INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: RhinoBanga on August 02, 2006, 02:37:15 am
-
Hi All,
A beta of the official JRiver plugin can be downloaded here:
http://www.jdnet.co.uk/jriver/as_beta.zip
It's a stand-alone module at the moment (i.e. download the .ZIP file, extract the .EXE and run it) but in the future it will be merged into the main MC program.
When you first fire up MC after installation you will be prompted to enter your username/password, after clicking OK MC will start registering the following filetypes:
*.mp3,*.wav,*.ogg,*.flac,*.ape
If there's any other audio filetypes I have missed let me know.
Please post any bug reports in this thread.
P.S. If anyone is using the PlayingNow plugin I suggest you make sure that the last.fm support in it is disabled or else you will be registering your tracks twice!
-
This is an audioscrobbler plugin, right?
Mark
-
All looking good so far! :)
The only apparent issue is that when you click on 'last.fm' in the tree, all you get is a blank white page with 'options' in the middle. It would be nice if it displayed your user page in an internet explorer control, or displayed a log of recently submitted tracks, or something like that.
-
This is an audioscrobbler plugin, right?
Correct. AudioScrobbler is what they call the technology behind it ... last.fm is the "public" name.
-
All looking good so far! :)
The only apparent issue is that when you click on 'last.fm' in the tree, all you get is a blank white page with 'options' in the middle. It would be nice if it displayed your user page in an internet explorer control, or displayed a log of recently submitted tracks, or something like that.
Interesting idea ... I'll look into it.
-
Does it work similar to the PlayingNow plugin? i.e have a queue file and a log file?
That has proved useful for debugging pesky file names with % in them.
-
When you first fire up MC after installation you will be prompted to enter your username/password, after clicking OK MC will start registering the following filetypes:
*.mp3,*.wav,*.ogg,*.flac,*.ape
If there's any other audio filetypes I have missed let me know.
Here's 2 more I need: *.mpc, *.wma
-John
-
I can't get plug-in to work. I'm signed in to www.lastfm.com and I have the plug-in running on MC. But when I refresh my www.lastfm.com page that shows the songs I've played, nothing is updated and I've listened to at least 5 songs already so it should have shown a few at least. :(
-
Does it work similar to the PlayingNow plugin? i.e have a queue file and a log file?
That has proved useful for debugging pesky file names with % in them.
Yes, check out the README file.
-
Here's 2 more I need: *.mpc, *.wma
-John
I've updated the list. Look for the change in the next release.
-
I can't get plug-in to work. I'm signed in to www.lastfm.com and I have the plug-in running on MC. But when I refresh my www.lastfm.com page that shows the songs I've played, nothing is updated and I've listened to at least 5 songs already so it should have shown a few at least. :(
What does the status logfile say?
-
Working good so far.
If you're taking enhancement suggestions, one thing I liked about the old plugin was that it would show a list of each song as it was submitted.
Can this be added to the plugin screen below the options button?
Not the complete statuslog.txt contents, just the SENDING lines.
Sort of a quick view that lets us know songs are submitting ok.
-
Afternoon Jamie, been too long.
Does this have the buddy hotkey?
(http://www.theganghut.co.uk/pics/ia/friends.jpg)
If not, are there any plans to include it, or expand on the idea?
-
Yes, check out the README file.
Sorry, hadn't installed at that point. Looks great!
File #1 and #2 are limited to 1024 lines so it doesn't eat up disk space.
That has got to be one of the most ironic things considering most of the target audience has hundreds of GB online storage of music, images and video!! LOL!
Marko, where is that pop-up coming from? [EDIT - nevermind, that must be from the actual last.fm player. For a minute I thought it was in this plugin already]
-
Marko, where is that pop-up coming from? [EDIT - nevermind, that must be from the actual last.fm player. For a minute I thought it was in this plugin already]
it's in the current playingnow plugin. the tracks with smileys are in the library, double clicking plays them.
-
it's in the current playingnow plugin. the tracks with smileys are in the library, double clicking plays them.
I had no idea -- what pops that up in Playing Now?
-
check the [AudioScrobbler] section of the playingnow.ini file (right click on popup > options > edit ini)
if this line is not present, put it in there, save the file and restart MC, then hit win+F5
BuddyHotkey=Win+F5
-
Cool.... now I just need Friends! LOL!!!
-
Afternoon Jamie, been too long.
Does this have the buddy hotkey?
(http://www.theganghut.co.uk/pics/ia/friends.jpg)
If not, are there any plans to include it, or expand on the idea?
Hi dude,
I've been watching for you on MSN but haven't seen you online in a while. You haven't blocked me have you ;)
No the last.fm plugin doesn't have the buddies system. Didn't know if that's what people wanted. I would need to discuss with JR about additional features like this.
-
Working good so far.
If you're taking enhancement suggestions, one thing I liked about the old plugin was that it would show a list of each song as it was submitted.
Can this be added to the plugin screen below the options button?
Not the complete statuslog.txt contents, just the SENDING lines.
Sort of a quick view that lets us know songs are submitting ok.
The ability is there. I just need to hook up the UI.
-
I've confirmed that the plugin doesn't send submissions for songs played via the library server.
We'll need to install the plugin on all client machines if we want submissions sent for songs streamed to those clients.
-
I've confirmed that the plugin doesn't send submissions for songs played via the library server.
We'll need to install the plugin on all client machines if we want submissions sent for songs streamed to those clients.
Doesn't surprise me since I would expect the server to supply the tracks without playing them, in an FTP-like manor.
To be honest installing the plugin on the clients makes sense since it's entirely possible that each client would want a unique last.fm login. If it was done via the server you wouldn't know who played what.
-
Doesn't surprise me since I would expect the server to supply the tracks without playing them, in an FTP-like manor.
To be honest installing the plugin on the clients makes sense since it's entirely possible that each client would want a unique last.fm login. If it was done via the server you wouldn't know who played what.
It's fine with me. I posted as more of an FYI. I only have 4 clients to worry about.
I would like it if you could somehow queue songs played via ipod when it's sync'd with MC and add those songs into your plugins last.fm queue.
Reason being, if wife is listening to MC at home and I'm listening to ipod in car at the same time, last.fm will reject some of the submissions due to being out of date/time sequence.
-
Hello
I got a problem with the Plugin. It doesn't submit songs where there's a "%" in the Album name. i think you should urlencode the "%" itself too. This is not yet done, if i can interpret the log files correctly.
I deleted the matching songs from the Queue.txt and now it seems to work - most likely until the next song with a "%" is played.
I can remember this behavior with the old plugin too.
Another Problem seems to be the Queue management, there are a lot of duplicates in my Queue and last.fm reportet that their Spam protection was triggered because i submitted tracks dated earlier than my last submission. This seems to happen when i close MC and restart it, after that there appeared the duplicates. The duplication happened before i deleted the "%"-songs.
At the moment my queue is getting smaller again and in the StatusLog.txt everything looks ok except for the Timeout i don't understand. The update interval seems to be every 30 seconds one track
I hope this helps development, i like to see a last.fm plugin again :D
I hope my english is understandable - translated back to german by google it gives me complete nonsense ?
greetings
Helmchen
-
Ok, i can now reproduce the duplication process.
I cleared the complete Queue.txt
Then i run mc and went to last.fm options after i closed the options the plugin wrote the queue to file.
i reopened the options and closed them again and i had the same single song played until then two times in the queue.
When i've done that again the same entry appeared 4 times in the Queue.txt.
I think the Queue.txt should be overwritten with the current loaded queue and not appended.
regards
Helmchen
-
Ok, i can now reproduce the duplication process.
I cleared the complete Queue.txt
Then i run mc and went to last.fm options after i closed the options the plugin wrote the queue to file.
i reopened the options and closed them again and i had the same single song played until then two times in the queue.
When i've done that again the same entry appeared 4 times in the Queue.txt.
I think the Queue.txt should be overwritten with the current loaded queue and not appended.
regards
Helmchen
Cool, thanks for that. Look for the fix in the next release.
-
Not sure how to put this (i'll try anyway)
Does the lastfm plugin communicate exculsively with lastfm and lastfm only ?(excepting buddies of course)
-
Not sure how to put this (i'll try anyway)
Does the lastfm plugin communicate exculsively with lastfm and lastfm only ?(excepting buddies of course)
Can you elaborate please. All the plugin does is post your track information to their submission URL/website.
-
Working good so far.
If you're taking enhancement suggestions, one thing I liked about the old plugin was that it would show a list of each song as it was submitted.
Can this be added to the plugin screen below the options button?
Not the complete statuslog.txt contents, just the SENDING lines.
Sort of a quick view that lets us know songs are submitting ok.
This will be in the next version. The plugin page will show a list of whats been submitted and it's status, i.e. success/failed.
-
Will this plugin pick up the playcount from the TiVo server and from an iPod (after syncing with MC, of course)?
-
Will this plugin pick up the playcount from the TiVo server and from an iPod (after syncing with MC, of course)?
No. I already tested this. It's up to the client that's playing the track to submit the data. Tivo probably doesn't have the ability.
For the ipod, I use audioscrobbler http://projects.afterglo.ws/wiki/AudioPodHome.
After using your ipod, make sure that MC and itunes aren't running before you connect your ipod. Run audiopod, which will submit the playcounts from your ipod to last.fm. Follow up by starting MC and syncing the ipod. MC then removes the playcount file from the ipod.
-
Thanks for the tip on the iPod. I'll have to check on the TiVo server when I get home. I know that the playcount info in the MC Library is updated when a track is played through the TiVo server, but of course it's also updated when you sync with the iPod. I guess that's what I'm confused about - if the TiVo server and the iPod (after syncing) pass playcount data to MC, why wouldn't MC be able to pass this data to Last.fm?
-
I guess that's what I'm confused about - if the TiVo server and the iPod (after syncing) pass playcount data to MC, why wouldn't MC be able to pass this data to Last.fm?
The plugin keys off of some sort of "currently playing" key.
Since the ipod sync, library server, and tivo server don't display the tracks being played on those client devices in the PLAYING NOW view of MC, it doesn't see them.
I just install the plugin on all MC client machines and use audiopod for the 2 ipods.
Stuff that plays on hardware like the netgear mp101 via MC's upnp server I don't worry about. Having it on the clients allows you to submit to multiple last.fm accounts.
Not sure I want my kids listening to a children's cd over and over and over to cloud the listening recommendations that last.fm gives me. I prefer it this way.
-
Hi Rhino.
Add .wv Wavpack please.
-
Hi Rhino.
Add .wv Wavpack please.
Done, look for it in the next beta.
-
I got a problem with the Plugin. It doesn't submit songs where there's a "%" in the Album name. i think you should urlencode the "%" itself too. This is not yet done, if i can interpret the log files correctly.
Helmchen
The AS protocol seems to have problems with certain characters which prevent submission. In the next beta there is an options page where you can replace strings, for example the default replacement supplied is to convert the ampersand "&" to "and".
-
Just looked on my last.fm page, had this message:
Some tracks you submitted have not been added to your profile for the following reason:
Spam protection triggered: You submitted a track dated earlier than your last submission.
I only use media center 11 / your last.fm plugin, only on one pc, so I can only assume it's a bug in your plugin.
-
Not a bug but a problem at their end.
When you submit a track you tell it when it was played.
If the submission fails (e.g. their website is down) it gets deleted from the top of the queue and put to the bottom of the queue.
It does this so that a single track cannot stop the whole logging process.
Unfortunately they added the check that you hit.
There is a flag in the options screen to tell the plugin not to re-attempt failed submissions, but as I mentioned if you cannot connect to their website for whatever reason you will lose submissions if you enable this.
-
The AS protocol seems to have problems with certain characters which prevent submission. In the next beta there is an options page where you can replace strings, for example the default replacement supplied is to convert the ampersand "&" to "and".
Are you sure it's their problem?
I don't think you can send "%" and "&" without encoding it. The "&" will add a request variable which is of course unknown to AS and the "%" will start a decoding process for the next 2 characters which aren't part of a encoded character. So it's mandatory to urlencode them to get a proper result. As far as i can see from the StatusLog.txt and the FailedLog.txt at least the "%" is not urlencoded when sent to AS and therefore an error must occur.
...&a[0]=Hawkwind&t[0]=Mot%F6rhead&b[0]=100%%20Rock%20Vol.%202&m[0]=&l[0]=185&...
In the above example AS tries to decode "%%2" which leads to an error. The correct string would be "%25%20" which will lead to the wanted "% " when decoded.
Please see RFC 2396 - Uniform Resource Identifiers (URI): Generic Syntax
2.2 Reserved Characters and
2.4.3 Excluded US-ASCII Characters
greetings
Helmchen
-
Hi,
Check the audioscrobbler developer forums. They admit they have problems. Also the plugin uses the InternetCanonicalizeUrl API to convert the URL with 0 as the flags and according to my MSDN documentation says "If no flags are specified, the function converts all unsafe characters and meta sequences to escape sequences".
An update ...
Changed the code to use UrlEscape and it seems to submit everything now, including the stuff that people were complaining about on the last.fm website.
-
The only unsafe characters Microsoft knows of, are <L> <I> <N> <U> <X> and <A> <P> <P> <L> <E>
The InternetCanonicalizeUrl API converts them to <M> <I> <C> <R> <O> <S> <O> <F> <T> at once!!!
;D ;D ;D
CU
Helmchen
-
It sends the songs you play to your Last.fm account. Last.fm is a web site/web services that compare what you listen to to your friends and other people and makes recommendation.
Hopefully this plug in will go full circle and allow you to listen to Last.fm streams in the future -- Last.fm player will recommend similar, new songs based on your listening history.
You can also use Last.fm to generate a graphic of your last listened too songs, which is in my sig here in this forum.
-
Hopefully this plug in will go full circle and allow you to listen to Last.fm streams in the future
An example on how to stream last.fm audio via Media Center is here (it requires knowledge of NetRemote and on how to program in the lua programming language) :
http://www.promixis.com/forums/showthread.php?t=14621
it's just some rough example code, not a complete application!
basically, there is one continuous audio stream that you tell Media Center to play, like
http://streamer2.last.fm:80/last.mp3.....
(unlike pandora, by the way, where each song is a separate stream)
and you control it (skip track, like/hate etc.) via http requests like
http://ws.audioscrobbler.com/radio/adjust.php...
something like that could be built into the plugin, I guess...
p.s. above can also be learnt from the last.fm player source code
Marcel
-
what's audio scrabble?
Audio Scrobbler is the technology behind last.fm
If you don't now what last.fm is, goto www.last.fm
-
Thread closed ... new version available:
http://yabb.jriver.com/interact/index.php?topic=35200.0