[RELEASE] LastTube (Video) Plugin - a Last.fm + YouTube Mashup Addon
#31
http://forum.xbmc.org/showthread.php?tid=29911&page=6#1

It's working perfectly on my xbox. Haven't tested linux or windows yet.
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply
#32
Ok. I updated on the XBOX and now it is working fine.
Thanks for your help.
Reply
#33
This is the coolest thing ever. I was thinking the other day that they needed a website that worked like Pandora.com, but with videos.

Thanks for all your hard work.

I seem to have one issue. It will only play one video at a time. I have to keep clicking on my account name to play another video. I am using XBMC for Windows.

Thanks again.
Reply
#34
This has been running fine for me since installing, however... If a song comes on that you want to skip it will skip to the next song no problem but will quit the program after playing that song. Great plugin by the way - oh and I'm using the latest XBMC on xbox.
Reply
#35
I have a minor problem... If I search for a user, and play that stream, it works great. However, when selecting myself from the plugin, it doesn't do it. Very weird. I fail to see why I can't access my own top videos from the plugin, but if i search for my user, it works.

Any suggestions? And yes, Lastfm is configured correctly in xbmc (xbox) and is scrobling my music.
Reply
#36
This plugin is the greatest mashup i've seen since PandoraFM. extremely well done.

Oddly, xbmc refuses to let me listen to last.fm radio stations, but this script works just fine.

Question, is this script capable of scrobbling what i'm listening too? i haven't seen anything being posted to my profile, but i figured i'd ask.
Reply
#37
Hey, great plugin, almost my favorite.
I say "almost" because on Linux, it stream only one song, and always the same (Bjork, It's Oh So Quiet). When the song is finished, it returns on the video plugin selection menu.
The end of the log, where the plugin stop playing the clip:
Code:
GNU nano 2.0.7                                      File: manu-xbmc.log                                                                                    

20:52:07 T:2879114128 M:633548800   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
20:52:07 T:2879114128 M:633548800  NOTICE: thread end: video_thread
20:52:07 T:2879114128 M:633548800   DEBUG: staticThread, deleting thread graphic context
20:52:07 T:2879114128 M:633548800   DEBUG: Thread 2879114128 terminating
20:52:07 T:2933586832 M:633548800  NOTICE: deleting video codec
20:52:07 T:2933586832 M:633548800  NOTICE: CDVDPlayer::OnExit() deleting demuxer
20:52:07 T:2933586832 M:633548800  NOTICE: CDVDPlayer::OnExit() deleting input stream
20:52:07 T:2909453200 M:633548800   DEBUG: staticThread, deleting thread graphic context
20:52:07 T:2909453200 M:633548800   DEBUG: Thread 2909453200 terminating
20:52:07 T:2933586832 M:633548800   DEBUG: FileCurl::Close(0x93178b0) http://www.youtube.com/get_video?video_id=uQLNulj3vVw&t=vjVQa1PpcFOaRlDUAN_LG-bz3vHg09$
20:52:07 T:2933586832 M:633548800   DEBUG: Curl:: Debug Closing connection #1
20:52:07 T:2933586832 M:649285632   DEBUG: Playback has finished
20:52:07 T:2933586832 M:649285632   DEBUG: staticThread, deleting thread graphic context
20:52:07 T:2933586832 M:649285632   DEBUG: Thread 2933586832 terminating
20:52:07 T:3055966080 M:649285632   DEBUG: GetMovieId (http://www.youtube.com/get_video?video_id=uQLNulj3vVw&t=vjVQa1PpcFOaRlDUAN_LG-bz3vHg09nSTiChwJbm0jw=&$
20:52:07 T:3055966080 M:649285632   DEBUG: GetEpisodeId (http://www.youtube.com/get_video?video_id=uQLNulj3vVw&t=vjVQa1PpcFOaRlDUAN_LG-bz3vHg09nSTiChwJbm0jw$
20:52:07 T:3055966080 M:649285632   DEBUG: GetMusicVideoId (http://www.youtube.com/get_video?video_id=uQLNulj3vVw&t=vjVQa1PpcFOaRlDUAN_LG-bz3vHg09nSTiChwJbm$
20:52:07 T:3055966080 M:649146368   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
20:52:07 T:3055966080 M:649146368   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
20:52:07 T:3055966080 M:649146368   DEBUG: Plein écran
20:52:07 T:3055966080 M:649146368   DEBUG: -------------------
20:52:07 T:3055966080 M:649146368   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
20:52:07 T:3055966080 M:649146368   DEBUG:
20:52:07 T:3055966080 M:649146368   DEBUG: -------------------
20:52:07 T:3055966080 M:649494528   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
20:52:07 T:3055966080 M:649494528   DEBUG: ------------------- GUI_MSG_WINDOW_INIT
Reply
#38
I updated this to take care of some issues, would you guys mind grabbing the latest version using the svn repo installer and trying it?
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply
#39
Hey is there any way to make this plugin scrobble the tunes that it plays, ideally using the audioscrobbler/last.fm settings in the main xbmc?
Reply
#40
Cool plugin!

Running SVN 23185 on Linux. I put my last.fm username and password in XBMC's music settings. When I ran LastTube, before even getting to the LastTube menu, XBMC crashed with the following in the crash log:

DEBUG: Error: Requested setting (lastfm.username) was not found. It must be case-sensitive

grepping lastfm in the source code shows this: "scrobbler.lastfmusername". Put this in place of "lastfm.username" on line 141 of LastTube/default.py. Now LastTube loads!
Reply
#41
j3ffd Wrote:Cool plugin!

Running SVN 23185 on Linux. I put my last.fm username and password in XBMC's music settings. When I ran LastTube, before even getting to the LastTube menu, XBMC crashed with the following in the crash log:

DEBUG: Error: Requested setting (lastfm.username) was not found. It must be case-sensitive

grepping lastfm in the source code shows this: "scrobbler.lastfmusername". Put this in place of "lastfm.username" on line 141 of LastTube/default.py. Now LastTube loads!

Damned API changes Wink
I committed that change without testing it, so I hope you're right about that fixing things.

PHP Code:
[LastTube
FixedXBMC API changes stopped plugin from getting last.fm username.  Thanks to j3ffd 
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply
#42
Guys,

Does LastTube have an official website? I've modified it and I'd like to contribute my little code to its author.

Do you know about its license? I've found http://code.google.com/p/xbmc-addons/ where it looks like LastTube is hosted, but I can't figure out a way to contact its author.

In case anyone is interested, I've made two modifications:

- videos now keep on playing until you stop them,
- XBMC now downloads the videos: since you look for your favorite artists, you're supposed to like the videos. (It works with "search for tags" and "search for user" as well, of course).

If the license allows me to do so, I can give my little code to anyone who is interested.

Cheers!
Reply
#43
AlienQueen Wrote:Guys,

Does LastTube have an official website? I've modified it and I'd like to contribute my little code to its author.

Do you know about its license? I've found http://code.google.com/p/xbmc-addons/ where it looks like LastTube is hosted, but I can't figure out a way to contact its author.

In case anyone is interested, I've made two modifications:

- videos now keep on playing until you stop them,
- XBMC now downloads the videos: since you look for your favorite artists, you're supposed to like the videos. (It works with "search for tags" and "search for user" as well, of course).

If the license allows me to do so, I can give my little code to anyone who is interested.

Cheers!

I'm the author of the xbmc plugin lasttube, Tim Borman is the author of the mashup & player. http://beta.tv.timbormans.com/

I haven't updated this thing in forever. The first modification you made should have been in it from the beginning. Not sure when/where it broke, but thanks for supposedly fixing it.

Feel free to mail me if you'd like to continue taking this plugin where it needs to go. Sorry the state of the code, I broke my python cherry writing that plugin Smile
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply
#44
Hi guys, I'd love to get your update, and would like to make a suggestion for another. I got the current version from the svn repo using XBMC on Ubuntu Karmic, and it works pretty well, but it stops playing after 2-5 songs and always seems to stop after you skip a song. It has also crashed XBMC once. Sounds like you have a fix for that which would be great!

The other issue I have with it is that I have to type in my LastFM username (or search term) in order for it to play anything, so whenever it stops playing I have to bring up the keyboard and type my username again. So my suggestion would be to have a preset item that just launches LastTube with whatever settings you last used. That way it could be completely automated without needing to edit any config files or anything and just automatically use whatever you typed in last time.

Also I read earlier in this forum that there is a LastFM music plugin already for XBMC? It's not in mine, and I couldn't find one in any of the SVN repos I have available. Where do you get it from?
Reply
#45
It works on my Xbox, but you need an Xbox remote (which thankfully I have) to be able to skip and move forward/back properly. The game controller doesn't work.

The only grip (so far!) is that I would like to be able to play videos from my neighbourhood, as this is how I find a lot of stuff I haven't heard before.

Also having the option (when possible) to stream higher quality videos would be good.

I also can't skip very quickly through videos. If I go even slightly fast, it craps out after about 4 videos.

It would also be helpful if it did better/background buffering between videos, so that there was no gap between them.

And an ultimate final wish would be to still be able to love, and ban tracks too!

Having said which it still has the potential to be the greatest XBMC plugin ever created!!!
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] LastTube (Video) Plugin - a Last.fm + YouTube Mashup Addon0