werdeil / clementine-last-export Goto Github PK
View Code? Open in Web Editor NEWTool to import playcounts and loved tracks from your last.fm account into Clementine
License: GNU General Public License v3.0
Tool to import playcounts and loved tracks from your last.fm account into Clementine
License: GNU General Public License v3.0
This tool allows you import playcounts from last.fm to update your clementine database. This is a temporary solution until Issue 90 of the Clementine project is implemented. As it works outside of Clementine it needs to be run with Clementine closed (if it is not the case Clementine may raise some error while trying to reach its database). This tool is working on Linux and may work also on Mac and Windows but wasn't tested on these OS. For more information on how to use it, see the wiki section on its github page. Feel free to give me any feedback, either on its github page: http://github.com/werdeil/clementine-last-export/
What steps will reproduce the problem?
1. Make your recent tracks private on Last.fm
2. Run clementine_last_export
What is the expected output? What do you see instead?
I expect the importation of the playcounts, but as the recent track are private
it won't work.
Original issue reported on code.google.com by [email protected]
on 11 Dec 2013 at 3:00
raise err
xml.etree.ElementTree.ParseError: no element found: line 1065, column 58
I hope/think it's as simple as a sanitisation error that's easily fixed?
I have been trying to update Clementine database using this script and a very
large last.fm collection (almost 200,000 playcounts).
None the less, I keep getting the next error:
INFO:root:Backing up database into clementine_backup.db
INFO:root:Reading extract file and updating database
Traceback (most recent call last):
File "update_playcount.py", line 161, in <module>
matched, not_matched = update_db_file(os.path.expanduser("%s/clementine.db" %db_path), options.extract_file)
File "update_playcount.py", line 85, in update_db_file
titre, artiste = parse_line(line)
File "update_playcount.py", line 70, in parse_line
titre,artiste = regexp.findall(ligne)[0]
IndexError: list index out of range
Used the next command on Kubuntu 12.04:
python update_playcount.py kadai --backup --debug
Tried then updating only a small number of pages (from 3920 to 3923) and the
program has run successfully, what makes me thing that the overhelming number
of tracks is the main problem!
(I got a 29mb file size after importing everything from last.fm)
Original issue reported on code.google.com by kadaimx
on 27 Aug 2012 at 1:18
The actual way of using the script is not really easy, a GUI can be very
useful, especially for the issue 3
Original issue reported on code.google.com by [email protected]
on 13 Apr 2012 at 1:04
What steps will reproduce the problem?
1. see below
What is the expected output? What do you see instead?
oenahs@mint ~/Downloads/clementine-last-export_2012_08_29 $
./update_playcount.py -e exported_tracks
Traceback (most recent call last):
File "./update_playcount.py", line 140, in <module>
username= args[0]
IndexError: list index out of range
What version of the product are you using? On what operating system?
Linux Mint 14 amd64
Please provide any additional information below.
Original issue reported on code.google.com by ronnocoenahs
on 1 Feb 2013 at 4:48
Hi!
Thank you for maintaining last-export. As you may have heard, Python 2 is now EOL. I've been using last-export for many years, and have been thinking about packaging it for Debian. Unfortunately the absence of Python 3 support is a blocker.
'hope it's something you're interested in doing!
Best,
Nicholas
If the script can't find a match the song is not processed. There shall be an
option to try manual match as it is the case in the Vandelay industry's plugin
for songbird.
Maybe a GUI is necessary to do this, see issue 3
Original issue reported on code.google.com by [email protected]
on 13 Apr 2012 at 1:02
What steps will reproduce the problem?
1. Run the script
2. launch an update of the database
What is the expected output? What do you see instead?
Expected: progress bar, to see the overall progress
Seen: frozen window, for a long time in case of a big last.fm database
Original issue reported on code.google.com by [email protected]
on 2 Aug 2013 at 9:55
The tool allows the user to backup the database through an option. However it
is not trivial for the user to understand where this backup is stored (in our
case next to the actual database) nor how to revert the change made by the tool
on the database (in our case rename the backup database to the standard name.
I think the tool shall allow the user to revert to the last backed up database.
Original issue reported on code.google.com by [email protected]
on 7 Mar 2014 at 3:24
It doesn't fetch the correct play counts for some reason.
The tool shall be package to be easily installable.
First identified need is on ubuntu distribution. If other OS are requested, it
shall be added in comments
Original issue reported on code.google.com by [email protected]
on 25 Apr 2013 at 10:10
What steps will reproduce the problem?
1. start the tool
2. configure the options
3. press "return"
What is the expected output? What do you see instead?
Expected: The tool start the import
Seen: nothing happens
Original issue reported on code.google.com by [email protected]
on 2 Aug 2013 at 10:33
What steps will reproduce the problem?
1. unsure.
What is the expected output? What do you see instead?
I have more than 31000 scrobbles in my last.fm. After import, the clementine
database shows about 30 of them.
What version of the product are you using? On what operating system?
newest py script, fresh install of mint 16 64bit MATE and Clementine
1.2.something
Please provide any additional information below.
isn't there a simple tool to read the export data file I can have last.fm
generate?
Original issue reported on code.google.com by [email protected]
on 13 Jan 2014 at 8:11
It would be nice to have compiled versions for various platforms as I found out it's a bit tricky to build as it relies on PyQt4.
Each time the tool is open, it is necessary to retype the username.
As it is very likely to be always the same it shall be memorized, as well as
the server (last.fm or libre.fm).
Original issue reported on code.google.com by [email protected]
on 2 Aug 2013 at 9:58
there's no need to simply overwrite the local play counts without taking them
into account.
the update_playcount function should probably use max(lastfm_playcount,
local_playcount).
Original issue reported on code.google.com by [email protected]
on 9 Jan 2012 at 4:50
The script shall be able to import the loved tracks and store them in a
playlist.
Original issue reported on code.google.com by [email protected]
on 13 Apr 2012 at 12:59
This prolem can be easily solved when you increase the sleeptime from 0.5 to 1.5
Original issue reported on code.google.com by [email protected]
on 3 Jan 2013 at 4:42
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.