[APP] Music Video Downloader (4 Viewers)

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    same method as checkproxy.exe
    I download a webpage to a local txt file
    http://ws.audioscrobbler.com/2.0/?m...r=rj&api_key=184ba1d9a42ef2e523acd4f8b18a7d09
    Then I read the text file into a variable
    Look for the error code for unknown user.
    Look for username = "?" picture ="?"[DOUBLEPOST=1376384634][/DOUBLEPOST]
    Hi, finally I have tried mvd (only small batch downloads though)! I can't really get the "Last.fm similar" to work, I only get videos from the top artists. I'm using music-video-downloader-v10c-fix-for-bulkdl.rar from the first post. Last.fm user: ministerkrister



    Similar artists can be really slow to load, just give it some time. Turn on tooltips before you do it. For example if you go with default 100+20 expect it to take 10 minutes+ to build the list as it has to make 100 API calls in a row to last.fm then for every top artist + similar artist it has to make a call to audiodb.com, eg. up to 100x20 = 2000 api calls (realistically it is never that many, but it can be a lot) So basically think of it having to download 2100 small web pages to make the music video list. This is why I include lots of cache files in the cache folder so it is faster... I will add your collection to the cache file list. Running your user name ministerkrister with 100+20 in similar artists gives ~100 music videos from theaudiodb.com and if you enable pitchfork the number is around 3-400ish (guesstimate)


    Hi, I think we have some kind of misunderstanding here. If I use "Last.fm similar" mvd only fetches videos for the top artists. Mvd gets the top artists then gets the similar artists after that no other requests.

    Eg:
    I did a small test right now with 1+20 (all time top) just to check
    I have tried with other settings eg 5+100 for all the different "Time period to check", mvd have never added any videos other than the top artists for the different time periods.


    Maybe my selection is to narrow, or maybe I got a non video friendly music taste?

    Edit: Tested 20+100 (all time top artists) - no similar artists in the "Add videos To Download List"


    There may be a bug in similar artists, it should be returning more than top artists (usually), will check. I think for top artists i use mbid and name, but for similar artists I am limited to mbid only, but I will have to confirm this (I cant remember). This maybe the reason why top artist is returning more videos than similar artists... Either that or I added a typo at some stage (I think it's probably the MBID+Name 'vs' MBID only issue).
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand


    Yes it works on my computer
    tempo-png.134619

    I don't know why yours doesn't
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    @Ministerk - you found a bug just running through your similar artists now after fixing it, and it is going nuts :) will give you a test file in a minute. It's funny because I think I added that bug (a very big bug) when I was fixing a different (very small) bug lol :) I hadn't checked similar artists since I fixed the little bug.

    [DOUBLEPOST=1376386009][/DOUBLEPOST]
    Yes it works on my computer
    As you can see the temporary file? That is loaded when checking?

    From Cache Folder
     

    Attachments

    • Last.FM.Thumb.andrewjswan.jpg
      Last.FM.Thumb.andrewjswan.jpg
      3.4 KB
    • Last.FM.Library.Artists.andrewjswan.200.1.txt
      125.9 KB
    • LastFM.User.Info.andrewjswan.txt
      850 bytes
    Last edited:

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    Yes that is what it is supposed to do

    1+20

    Get a list of top artists (200) at a time
    Grab the first artist
    Look a list of similar artists for that artist (100) at a time
    Grab the top 20 from that list

    Then make take all the artists and go through audiodb.com

    Check Sources Tab, have you enabled theaudiodb.com as a source? If you disabled all the sources it wont look anywhere for videos. I ran program with your username and 100+20, it came up with 100 approx mvids. If i enabled pitchfork.tv it came up with a lot more. Now a lot of those videos will be the same as top artists, because most of your similar artists are likely already your top artists. Also the similar artists that are not your top artists may be rare artists which have no listed mvids.

    Hmmm. I can not get it to work. Extracted the files again (clean "install"), checked the sources.

    Made a 20+100 all time bulk dl
    These calls where made:
    http://ws.audioscrobbler.com/2.0/?m...1de782b58e334&limit=200&page=1&period=overall
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://ws.audioscrobbler.com/2.0/?m...=100&api_key=87378bcd89d9cba116c1de782b58e334
    http://www.theaudiodb.com/api/v1/js...mb.php?i=1e1a2257-cbc2-4eb5-af89-fb73696a2bb9
    http://www.theaudiodb.com/api/v1/js...mb.php?i=22568c9d-8ef3-4224-b994-8e0658e1082a
    http://www.theaudiodb.com/api/v1/js...mb.php?i=42e49814-6058-431c-80e2-a3aab424060d
    http://www.theaudiodb.com/api/v1/js...mb.php?i=4bf89e02-6c30-4603-9f6a-52619b1bea1a
    http://www.theaudiodb.com/api/v1/js...mb.php?i=5d5860d8-891c-443c-95db-73ffebe8c664
    http://www.theaudiodb.com/api/v1/js...mb.php?i=8205674b-16f5-47f2-a39f-cb4be2ae195a
    http://www.theaudiodb.com/api/v1/js...mb.php?i=d7e76e28-9f1b-4f05-a80d-f9e765746c52
    http://www.theaudiodb.com/api/v1/js...mb.php?i=e6ed56ae-c477-48fa-a53b-63f6cbc4a3c3

    If you check the ids in the theaudiodb gets they are all mbids of top-artists, no similar artists calls.

    Edit:

    @Ministerk - you found a bug just running through your similar artists now after fixing it, and it is going nuts :) will give you a test file in a minute. It's funny because I think I added that bug (a very big bug) when I was fixing a different (very small) bug lol :) I hadn't checked similar artists since I fixed the little bug.
    (y)
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Yes it is broken. I will give you fix. TY for excellent testing, I can't always test everything after I change things. I expect you will see a lot more results. btw - nice taste in music :) add me on youtube - "kiwijunglist" :)[DOUBLEPOST=1376386908][/DOUBLEPOST]@Ministerk - all fixed, gone from 90 results with 100+20 to ~700 results with 100+20 from audiodb.com

    try attached fix
     

    Attachments

    • MVD.exe.rar
      424.8 KB
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    :):):):):):):):):):):):):):):):):):):):):):)
    Version 11
    Fixes some special character issues
    Russian characters now display in Win7
    Fixed issue with similar artists not giving enough results (was working in v8or9, then broken in 10 now fixed again) ... TY @Ministerk

    :):):):):):):):):):):):):):):):):):):):):):)
     

    Attachments

    • Music Video Downloader v11.zip
      15.5 MB
    Last edited:

    Users who are viewing this thread

    Top Bottom