summaryrefslogtreecommitdiffstats
path: root/clerk_helper
AgeCommit message (Collapse)AuthorFilesLines
2017-07-22Implement xdg specification base directorynicodebo1-14/+14
Follow xdg base directory specification, see https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html - Use $XDG_CONFIG_HOME if it is set, otherwise use $HOME/.config - Use $XDG_DATA_HOME if it is set, othewise use $HOME/.local/share - split the clerk files between those two hereabove metionned directories by keeping the clerk/config and clerk/podcasts inside $XDG_CONFIG_HOME, and the rest inside $XDG_DATA_HOME - Put all the file variables definition in a centralized location for easier maintenance. - Updated the README to reflect the XDG support
2017-07-22Fix albumratings does not existnicodebo1-6/+7
The first time rating an album, a FileNotFoundError is raised because ~/.config/clerk/albumratings.json does not exists: - Moved the file opening (i.e. load_fastlist) inside the 'try' block and added an except clause, to catch the FileNotFoundError exception and process it accordingly. - Moved the action of saving the json track database and setting the sticker into a 'finally' block in order not to duplicate lines of code in the different blocks of the try/except. - Replaced the 'artist' tag with the 'albumartist' one.
2017-07-21Fix trackrating does not existnicodebo1-5/+9
The first time rating a track, a FileNotFoundError is raised because ~/.config/clerk/trackratings.json does not exists: - Moved the file opening (i.e. load_fastlistTrack) inside the 'try' block and added an except clause, to catch the FileNotFoundError exception and process it accordingly. - Moved the action of saving the json track database and setting the sticker into a 'finally' block in order not to duplicate lines of code in the different blocks of the try/except.
2015-08-31remove unneeded modulesRasmus Steinke1-104/+0
2015-08-30converted most curicial things, make global againRasmus Steinke1-0/+465
2015-08-30make branch work alongside master buildRasmus Steinke1-465/+0
2015-08-30auto updateRasmus Steinke1-1/+1
2015-08-29update formatRasmus Steinke1-1/+1
2015-08-29first try at aligned inputRasmus Steinke1-4/+4
2015-08-23hopefully fix doubled tags once and for all (part 20)Rasmus Steinke1-42/+20
2015-08-22more list stupidityRasmus Steinke1-0/+9
2015-08-22more list crappinessRasmus Steinke1-1/+11
2015-08-22also reduce lists for album tagsRasmus Steinke1-0/+1
2015-07-31further reduce code. Name functions properlyRasmus Steinke1-13/+9
2015-07-31remove unneeded accu listRasmus Steinke1-4/+1
2015-07-30pythonize track and albumlist creationRasmus Steinke1-6/+52
2015-07-30properly sort recently added albumsRasmus Steinke1-62/+21
2015-07-30ugly hack to fix latest sortingRasmus Steinke1-3/+5
2015-07-30fix wrong separatorRasmus Steinke1-1/+1
2015-07-30fix latest cache creationRasmus Steinke1-4/+4
2015-07-29align warningsRasmus Steinke1-6/+6
2015-07-29print warnings on missing tagsRasmus Steinke1-58/+45
2015-07-29speed up cache updates a gazillion timesRasmus Steinke1-40/+34
2015-07-11make sure same album names by same artists are added properly to cache filesRasmus Steinke1-5/+1
2015-05-10fix list issues on ratings importsRasmus Steinke1-3/+6
2015-05-10another try to hit track importsRasmus Steinke1-13/+4
2015-05-10possible fix for incorrect trackratings.jsonRasmus Steinke1-6/+18
2015-05-05fix sorting for tracklistRasmus Steinke1-5/+4
2015-05-05Outsource get current artist songs/albums to clerk_helperRasmus Steinke1-0/+30
2015-05-05dont clear playlist on importRasmus Steinke1-2/+0
2015-05-05Allow albumrating for non-playing tracksRasmus Steinke1-5/+15
2015-05-04Add Possibility to rate Tracks directly from tracklistRasmus Steinke1-5/+30
2015-05-01make sure album ratings are set on track 1 onlyRasmus Steinke1-4/+8
2015-04-30added stickersend command to restore sticker database from clerk rating fileRasmus Steinke1-9/+28
2015-04-29import ratings from existing sticker databaseRasmus Steinke1-65/+41
2015-04-28Make json ratings work for both track and albumsRasmus Steinke1-1/+75
2015-04-26added cleanup function, to remove ratings for non-existent albumsRasmus Steinke1-0/+19
2015-04-26finish up album ratingsRasmus Steinke1-3/+3
2015-04-26first go at json ratingsRasmus Steinke1-0/+59
2015-04-13accounting for disc number for sorting tracksjunkmechanic1-2/+12
2015-04-12updateRasmus Steinke1-1/+1
2015-04-12change order for latestRasmus Steinke1-3/+3
2015-04-11unified cache creation, handling tags using dictsjunkmechanic1-61/+56
2015-04-11use correct separator variableRasmus Steinke1-1/+1
2015-04-11fix typoRasmus Steinke1-1/+1
2015-04-11add description for beetsRasmus Steinke1-1/+7
2015-04-11first try with json cache files instead of clear text - still buggyRasmus Steinke1-31/+50
2015-04-10remove unused modulesRasmus Steinke1-2/+0
2015-04-01add --add savealbumRasmus Steinke1-0/+9
2015-03-14speed up importRasmus Steinke1-13/+12