Giter Club home page Giter Club logo

mm-lastfmimportpython's Introduction

Mediamonkey LastFMImporter

At this stage I no longer have the time/interest in maintaining this - as I don't use Mediamonkey myself any longer. If you need help in getting this running with python directly, or any help with dev'ing it further, feel free to open an issue.


This script sync's last.fm playcounts and last played dates into MM. It will find total playcounts of every track in your last.fm history, check if it is higher than the value in the database (for all tracks of that title/artist - even if multiples) and updates it if so. It will also update the last played times for all tracks with a newer last played on last.fm than in your MM database.

Get it from: http://psykar.com/scripts

Direct link: http://psykar.com/script-files/LastFmImportPython-3.1.mmip

It's been extensively tested now, but if you run into issues, sending me the log file would be a great help! %appdata%\MediaMonkey\Scripts\LastFmImport\Log.txt

Notes:

Source code is up at https://github.com/Psykar/MM-LastFmImportPython The tree needs cleaning up but figured I'd shove it up anyway given I'm now distributing an exe so you can look at the source code. It's compiled with pyinstaller.

Version history is here: https://github.com/Psykar/MM-LastFmImportPython/commits/master

mm-lastfmimportpython's People

Contributors

psykar avatar

Stargazers

Mr Snax avatar Villads Claes avatar xorr0@riseup.net avatar DK Y. avatar David Harding avatar

Watchers

 avatar James Cloos avatar  avatar

mm-lastfmimportpython's Issues

Script runs into an attribute error

Maybe you find some spare time and stick into this attribute-error. Me and a lot of users would be very happy if you find a solution. Thanks anyway for your hard work. Your script helped me a lot and I am sure a lot more users love this as well!
Log.txt
11-07-_2019_21-16-18

Playcounts not updated

Hi, don't know if you will see this here but didn't want to dig up a partially dead thread to raise an issue.

I am using your script to update my plays in MM and as of yesterday it doesn't update the play count when it is selected in the pop up.

From log:

2013-05-26 13:48:27,003: Reading existing cache from C:\Users[User]\AppData\Roaming\MediaMonkey\Scripts\LastFmImport\Cache
2013-05-26 13:48:27,098: Excluding between dates 1369219443 and 1369221534
2013-05-26 13:48:28,977: Pulling tracks between None - 1369219443
2013-05-26 13:48:30,983: Getting page 1...
2013-05-26 13:48:34,299: ... done with page 1
2013-05-26 13:48:34,999: Pulling tracks between 1369221534 - None
2013-05-26 13:48:41,532: Getting page 1...
2013-05-26 13:48:47,977: ... done with page 1
2013-05-26 13:48:48,802: Closing threads.
2013-05-26 13:48:48,803: Threads Closed.
2013-05-26 13:48:48,848: Starting matches
2013-05-26 13:48:50,588: Updated: 15
UpdatedDates: 15
UpdatedCounts: 0
Matches: 28
Matched without album: 0
Unmatched: 1
Total rows changed: 45

It does change the time but not the count.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.