MePo Tools - Download ClearArt/CDArt/ClearLogos, Music Video clips and more! (9 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    I can design the program and the GUI if you can code it? So you want to integrate into MePo Tools?
    It seems to me the easiest way to simply add this piece in MePoTools.

    It is not difficult:

    1. Get music videos for all songs in database
    - Read MP database
    - Get Artist - Title for each song
    - Use last.fm track.getinfo API
    - http://www.last.fm/api/show/track.getInfo
    - From the response we get: http://www.last.fm/music/Cher/_/Believe
    - Parse the html url above for the any youtube url (if exists)
    - eg.the_url
    - run youtube-dl.exe %the_url% (http://rg3.github.io/youtube-dl/) and tell it the url

    Settings
    - set directory + filename to save as using %artist% %title% %album%
    - set preferred video format(s)
    - [x] update youtube-dl.exe everytime Music Video Downloader is run.

    By the second part, I do not know. Do think it is not difficult, but should I?
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I think 2nd part is better because
    1. Probably faster
    2. More likely to get result because more popular track = more likely music video
    3. The music videos you get are the most popular ones for that artist.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    The more so that the API can be used:
    mbid (Optional) : The musicbrainz id for the track[DOUBLEPOST=1373967081][/DOUBLEPOST]
    I think 2nd part is better because 1. Probably faster 2. More likely to get result because more popular track = more likely music video 3. The music videos you get are the most popular ones for that artist.
    The first part will take a very long time since songs for each user in a database of more than 1,000. The second is just a 10 x number of artists. Maybe it would be better.
    The second is easy to implement within the list of artists. The first part, or in need of a long list of songs, or not so good record in the GUI.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    It gets more and more awesome here. What's wrong wth you guys
    It's not for long :D , at the end of the week I'm going to the sea, oceans, so either do it now or in August. :whistle:
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    For artists (top 10 songs) we are ready to add pages getting top 10, parse it and start downloading. But how best to do? Save all received URL to a file and then for a time to run the utility download, or run it every time?

    For U2:
    Code:
    http://www.last.fm/music/U2/_/With+or+Without+You
    http://www.last.fm/music/U2/_/Beautiful+Day
    http://www.last.fm/music/U2/_/One
    http://www.last.fm/music/U2/_/Sunday+Bloody+Sunday
    http://www.last.fm/music/U2/_/I+Still+Haven%27t+Found+What+I%27m+Looking+For
    http://www.last.fm/music/U2/_/Pride+(in+the+Name+of+Love)
    http://www.last.fm/music/U2/_/Where+the+Streets+Have+No+Name
    http://www.last.fm/music/U2/_/New+Year%27s+Day
    http://www.last.fm/music/U2/_/Vertigo
    http://www.last.fm/music/U2/_/Mysterious+Ways
    [DOUBLEPOST=1373968387][/DOUBLEPOST]
    I already have idea how the GUI can be done #1 if needed
    Ready to listen :barefoot:[DOUBLEPOST=1373968559][/DOUBLEPOST]On my test machine (for which there is no music) more than 1,000 songs on the home even afraid to imagine. I think that the loading of more than 1,000 clips from youtube download will be very computer and internet channel.

    It is also necessary to consider the possibility of removing unnecessary files
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I'm not sure. Have to think about it. For #top tracks, we should have that as a changeable setting. I see U2 has 491 listed, but some of them are not real tracks eg. #491 - "With or Without you - lyrics". So I think we will be ok because we are using the first ## tracks, which should all be good.

    Want to talk on IRC? or google chat?
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    There are 2 ways of doing it.

    but i have to ask a question about my music database.

    does it have an individual incremental index code for every music file in the database that starts at 00001 ?[DOUBLEPOST=1373969046][/DOUBLEPOST]Invalid API key - You must be granted a valid key by last.fm[DOUBLEPOST=1373969137][/DOUBLEPOST]google chat is my user name @ google.
     

    Users who are viewing this thread

    Top Bottom