home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MePo Tools - Download ClearArt/CDArt/ClearLogos, Music Video clips and more!
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kiwijunglist" data-source="post: 1012998" data-attributes="member: 76888"><p>@<a href="https://forum.team-mediaportal.com/members/ajs.68833/" target="_blank">ajs</a> - Want to make a new plugin?</p><p> </p><p>MePo - Music Video Downloader</p><p>Two functions</p><p>1. Get music videos for all songs in database</p><p>- Read MP database</p><p>- Get Artist - Title for each song</p><p>- Use last.fm track.getinfo API</p><p>- <a href="http://www.last.fm/api/show/track.getInfo" target="_blank">http://www.last.fm/api/show/track.getInfo</a></p><p>- Store the variables for artist, track, album. Also the last.fm url for the track.</p><p>- eg. <a href="http://www.last.fm/music/Cher/_/Believe" target="_blank">http://www.last.fm/music/Cher/_/Believe</a></p><p>- Parse the html url above for the any youtube url (if exists)</p><p>- eg.<a href="http://www.youtube.com/watch?feature=player_embedded&v=CL8rj1w6P18" target="_blank">the_url</a></p><p>- run youtube-dl.exe %the_url% (<a href="http://rg3.github.io/youtube-dl/" target="_blank">http://rg3.github.io/youtube-dl/</a>) and tell it the url</p><p>2. Download top 10 music video for all artists in database</p><p>- Read MP database</p><p>- Get list of Artists</p><p>- Use last.fm API to get artist info top tracks</p><p>- <a href="http://www.last.fm/api/show/artist.getTopTracks" target="_blank">http://www.last.fm/api/show/artist.getTopTracks</a></p><p>- For the top 10 tracks look up each url that you get from the api</p><p>- Parse the html page for the any youtube url (if exists)</p><p>- run youtube-dl.exe for that url</p><p>Settings</p><p>- set directory + filename to save as using %artist% %title% %album%</p><p>- set preferred video format(s)<a href="http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs" target="_blank">http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs</a></p><p>- [x] update youtube-dl.exe everytime Music Video Downloader is run.</p><p> </p><p>youtube-dl.exe is really good. it is command line driven. you can specify a lot of functions. it can also be invoked with -u to updates itself to the latest version.[DOUBLEPOST=1373962768][/DOUBLEPOST]</p><p> </p><p> </p><p>I think with thumbs you don't have to do anything fancy. If you copy an image while MP is accessing it, it will not break anything. It is not like database <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="kiwijunglist, post: 1012998, member: 76888"] @[URL='https://forum.team-mediaportal.com/members/ajs.68833/']ajs[/URL] - Want to make a new plugin? MePo - Music Video Downloader Two functions 1. Get music videos for all songs in database - Read MP database - Get Artist - Title for each song - Use last.fm track.getinfo API - [url]http://www.last.fm/api/show/track.getInfo[/url] - Store the variables for artist, track, album. Also the last.fm url for the track. - eg. [url]http://www.last.fm/music/Cher/_/Believe[/url] - Parse the html url above for the any youtube url (if exists) - eg.[URL='http://www.youtube.com/watch?feature=player_embedded&v=CL8rj1w6P18']the_url[/URL] - run youtube-dl.exe %the_url% ([url]http://rg3.github.io/youtube-dl/[/url]) and tell it the url 2. Download top 10 music video for all artists in database - Read MP database - Get list of Artists - Use last.fm API to get artist info top tracks - [url]http://www.last.fm/api/show/artist.getTopTracks[/url] - For the top 10 tracks look up each url that you get from the api - Parse the html page for the any youtube url (if exists) - run youtube-dl.exe for that url Settings - set directory + filename to save as using %artist% %title% %album% - set preferred video format(s)[URL='http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs'][/URL] - [x] update youtube-dl.exe everytime Music Video Downloader is run. youtube-dl.exe is really good. it is command line driven. you can specify a lot of functions. it can also be invoked with -u to updates itself to the latest version.[DOUBLEPOST=1373962768][/DOUBLEPOST] I think with thumbs you don't have to do anything fancy. If you copy an image while MP is accessing it, it will not break anything. It is not like database :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MePo Tools - Download ClearArt/CDArt/ClearLogos, Music Video clips and more!
Contact us
RSS
Top
Bottom