Giter Club home page Giter Club logo

lfmedit's People

Contributors

arcctgx avatar

Stargazers

 avatar

Watchers

 avatar

lfmedit's Issues

Allow editing "Unknown Date" scrobbles

This would require getting old scrobble data from source other than Last.fm API. The most reasonable thing to do would be to require full diff as input data (not just the new scrobble data).

Logging improvements are needed

In its current form failed.log is not very useful, because it doesn't store the cause of failure. This should be a short status string like HTTPxxx, CASEONLY, NOCHANGE or BADAARTIST.

Sometimes HTTP status codes other than the ones being explicitly handled are reported, and they don't always mean edit failures. These should rather be logged as warnings to a dedicated file, warnings.log. These should also be printed to the console. WRN error severity should be reintroduced.

Finally, consider if attempts to edit scrobbles without reliable timestamps should be treated and logged as errors, or not.

Fix problems with auth_tokens.sh in this repository

It's not possible to keep auth_tokens.sh as a sample template where changes are tracked, and at the same time ignore it when real tokens are set.

Authentication tokens should be read from file placed in XDG_CONFIG_HOME. This repository should only contain a sample template file.

improve handling of album artist in lfmbatchedit.sh

This looks like a case when the album field is set, but album artist field is not set on Last.fm side.

INF: applyChangesFrom(): editing scrobble 388 of 408
INF: requestScrobbleEdit(): This is the edit that will be applied:
-1291342475	[untitled]	William Basinski	Melancholia	
+1291342475	Melancholia VII	William Basinski	Melancholia	William Basinski
ERR: requestScrobbleEdit(): HTTP error 500: check edit parameters (wrong original album artist?)

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.