krish_2k4: I going to do a recently viewed, watched, or history. I wasn't sure what to call it. A limited size list of the most recently played videos.
I am curious for some feedback on the caching. It works by saving a copy of the video and then playing it as it downloads. It will always go back and play this file when you select this video in the plugin. You can delete the file and it will just re-fetch it when you play it again in cache mode.
You can skip around the file in cached videos which is nice.
In the cache it will save the video, jpg thumbnail, lyrics converted to srt, and it makes an nfo file for scanning into your xbmc library. You don't even need a music video scrapper to scan it in.
I liked having lyric subtitles saved with the file so I can always just enable them through the menu when playing in cached mode. I don't have to worry about what setting the plugin is in and just have to go enable them through the menu.
Having them saved also allows you to use a subtitle editor on the srt to sync the timing to the video. It starts you with the conversion which is usually pretty close in sync. I might add an option to split by line rather then stanza if anyone is interested. This could be used to make on screen subs that perfectly match the video if someone takes the time to do it.
I did a few play lists of videos and came out with a nice directory of videos ready to be scanned into a library.
They had more meta-data then the XBMC library nfo format has fields. I just slapped it in the plot tag to save the information. here is an example of what an nfo looks like.
Quote:<musicvideo>
<title>Do The Evolution</title>
<artist>Pearl Jam</artist>
<genre>Alternative,Rock,Grunge</genre>
<runtime>240</runtime>
<thumb>http://cache.vevo.com/Content/VevoImages/video/BC71C9C591BDCD0DD6B3DAC32015363F.jpg</thumb>
<plot>
Producer : Brendan O'Brien
Composer : Stone Gossard
AudioISRC : USSM19804844
Label : Epic
UpcCode : 111110182309
Drums : Jack Irons
RepertoireOwner : Epic
Producer : Pearl Jam
2nd Engineer : Sam Hofstedt
Guitar : Stone Gossard
Recording Engineer : Nick DiDia
Bass : Jeff Ament
Guitar : Mike McCready
Mixing Engineer : Brendan O'Brien
Lyricist : Eddie Vedder
Guitar : Eddie Vedder
Vocal : Eddie Vedder
2nd Engineer : Ryan Williams
Engineer : Matt Bayles
2nd Engineer : Matt Bayles
</plot>
<year>2004</year>
<director></director>
<studio>Epic</studio>
</musicvideo>