Code Monkey home page Code Monkey logo

clementine-last-export's Introduction

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/

clementine-last-export's People

Contributors

werdeil avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clementine-last-export's Issues

Clementine_last_export not working on private profiles

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

Parse Error?

    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?

IndexError: list index out of range

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

Add a GUI

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

cannot sync tracks with clementine

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

please port to Python 3

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

Manual match in case of not matched last.fm songs

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

Addition of a progress bar

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

Handling of the backup database

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

Installation as a package

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

Return doesn't have the proper action

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

Play-count off

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

Publish compiled versions

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.

Username shall be memorised

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

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.