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

CypherMK

MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Maybe we can integrate couchpotato and sickbeard and headphones too :) Then this tool is super complete! :p
     

    kiwijunglist

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

    Explanation of GUI:



    Settings

    [X] Download music videos for top tracks from each artist in your library
    . Max number of top tracks per artist to process [20]
    . Minimum last.fm playcount to download a video [5000]
    . Minimum last.fm listeners to download a video [1000]

    Enter your last.fm username: [kiwijunglist] [check username]
    . [X] Download music videos for your last.fm top tracks
    . . Max number of top last.fm tracks to process [100]
    . [X] Download music videos for your last.fm loved tracks
    . [X] Download music videos for your last.fm recommended artists
    . . Max number of recommended artists to process [20]

    Save music videos as: [D:\Music Videos\%Artist% - %Title%]

    Explanation of settings:

    Max number of top tracks per artist.
    If this is 20 then we only try on the first 20 tracks
    Minimum last.fm play count / users- this is for users with large collections to prevent too many music videos
    We already get this information when we use http://www.last.fm/api/show/artist.getTopTracks

    If last.fm user name is blank the options below are greyed out
    [check username] checks to see if username exists.

    We can use this for Download last.fm top tracks:
    http://www.last.fm/api/show/user.getTopTracks

    We can use this to Download last.fm loved tracks:
    http://www.last.fm/api/show/user.getLovedTracks
    We don't have a limit for loved tracks.

    We can use this to download music videos for recommended artists:
    http://www.last.fm/api/show/user.getRecommendedArtists
    The limit to #tracks per artist is the same as the max number of top tracks per artist to process
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,685
    10,647
    Kyiv
    Home Country
    Ukraine Ukraine
    Hmmmmmmmmmm... :cautious:[DOUBLEPOST=1373975737][/DOUBLEPOST]
    In this example we started with U2. We can not see all music videos. We only see what we have downloaded or tried to download this session.
    I think I will not do that, the maximum that will be seen is the result, and of the process in a log file.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,685
    10,647
    Kyiv
    Home Country
    Ukraine Ukraine
    We can use this to download music videos for recommended artists: http://www.last.fm/api/show/user.getRecommendedArtists The limit to #tracks per artist is the same as the max number of top tracks per artist to process
    api_sig (Required) : A Last.fm method signature. See authentication for more information.
    Not sure what I'll do.[DOUBLEPOST=1373975964][/DOUBLEPOST]
    Explanation of GUI:
    I have to vacation I will try to do the first part, if it will work then think about the second.[DOUBLEPOST=1373976203][/DOUBLEPOST]
    Maybe we can integrate couchpotato and sickbeard and headphones too Then this tool is super complete!
    Maybe, but we will most certainly die in the settings :)
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    The authentication API provides third-parties with a secure means of creating Last.fm user sessions over the Last.fm API, for deeper integration with our platform. All write services require authentication.

    We are not writing I don't then we need authentication signiture, we only need API key?[DOUBLEPOST=1373976514][/DOUBLEPOST]
    artist.getTopTracks

    Get the top tracks by an artist on Last.fm, ordered by popularity
    Example URLs

    JSON: /2.0/?method=artist.gettoptracks&artist=cher&api_key=184ba1d9a42ef2e523acd4f8b18a7...
    XML: /2.0/?method=artist.gettoptracks&artist=cher&api_key=184ba1d9a42ef2e523acd4f8b18a7d09
    Params

    artist (Required (unless mbid)] : The artist name
    mbid (Optional) : The musicbrainz id for the artist
    autocorrect[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.
    page (Optional) : The page number to fetch. Defaults to first page.
    limit (Optional) : The number of results to fetch per page. Defaults to 50.
    api_key (Required) : A Last.fm API key.
    Auth

    This service does not require authentication.

    artist.gettoptracks
    artist.getinfo
    user.getlovedtracks
    user.gettoptracks

    ^ all don't require authentication
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,685
    10,647
    Kyiv
    Home Country
    Ukraine Ukraine
    We are not writing I don't then we need authentication signiture, we only need API key?
    user.getRecommendedArtists

    Get Last.fm artist recommendations for a user
    Params

    page (Optional) : The page number to fetch. Defaults to first page.
    limit (Optional) : The number of results to fetch per page. Defaults to 50.
    api_key (Required) : A Last.fm API key.
    api_sig (Required) : A Last.fm method signature. See authentication for more information.
    sk (Required) : A session key generated by authenticating a user via the authentication protocol.
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,728
    1,185
    Alingsås
    Home Country
    Sweden Sweden
    1. You guys are awesome. :)

    2. You should team up and create a new Music Plugin for MePo that presents scraped info instead of id-tags in the GUI (like Moving Pictures and MP TV-Series, but for Music). An optional Backend option could be to overwrite existing id-tags with the scraped data. This would mean that all music info would be consistent and look even better inside MePo.

    Emph
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,685
    10,647
    Kyiv
    Home Country
    Ukraine Ukraine
    How to specify the resulting file name? How to specify the quality? And other parameters of interest to us?

    Code:
    F:\Delphi\MePoTools>youtube-dl.exe CL8rj1w6P18
    [youtube] Setting language
    [youtube] CL8rj1w6P18: Downloading video webpage
    [youtube] CL8rj1w6P18: Downloading video info webpage
    [youtube] CL8rj1w6P18: Extracting video information
    [download] Destination: Cher - Believe-CL8rj1w6P18.mp4
    [download]  17.9% of 63.53MiB at 148.72KiB/s ETA 05:59
     
    ERROR: unable to write data: [Errno 28] No space left on device
     

    Users who are viewing this thread

    Top Bottom