Commit Graph

119 Commits

Author SHA1 Message Date
Jonathan Bernard ed678872c9 Updated README for new version. 2016-04-20 12:45:28 -05:00
Jonathan Bernard 9891b68191 Changed versioning to use semver. 0.1.0 2016-04-20 12:41:43 -05:00
Jonathan Bernard 9f7f02802c DbApi: fixed typo in log statment. 2016-04-16 17:13:09 -05:00
Jonathan Bernard 09875d28d9 CLI add selection removal. 2016-04-06 11:21:18 -05:00
Jonathan Bernard fe8729265e CLI: Implemented delete command for bookmarks and playlists. 2016-04-05 13:12:20 -05:00
Jonathan Bernard 652cb178f3 DbApi now has proper generic types signatured for Model-related functionality. 2016-04-05 13:11:33 -05:00
Jonathan Bernard 42960cb96e CLI: Bugfix in remove command logic. 2016-04-04 07:31:41 -05:00
Jonathan Bernard 48baed6d69 Fixed repeat: loop is all, repeat is one. 2016-04-04 06:20:05 -05:00
Jonathan Bernard cb29844d9c Added reporting of the repeat mode. 2016-04-04 06:17:19 -05:00
Jonathan Bernard 2ec81b34ea CLI: Added repeat command, updated online help. 2016-04-04 06:12:23 -05:00
Jonathan Bernard ed31078d4c CLI: Implement create command. 2016-04-04 04:04:49 -05:00
Jonathan Bernard 39276f9a73 Make models cloneable. Set bookmark default play index. 2016-04-04 04:04:21 -05:00
Jonathan Bernard bc21abc24b Updated CLI to handle DB sync, UUID as record ids, more details after a library scan. 2016-03-30 01:13:53 -05:00
Jonathan Bernard d6edd3f11d Added core support for DB synchronization. 2016-03-30 01:12:41 -05:00
Jonathan Bernard 9c007b3de5 Changed the core schema to use UUIDs instead of SERIALs for all record IDs. 2016-03-30 01:12:04 -05:00
Jonathan Bernard 8ea88337b0 CLI: Fix syntax matching in the 'files tagged' version of select. 2016-03-29 16:46:44 -05:00
Jonathan Bernard 3d6d51b5ce DbApi: fix bugs in getPlaylistsWhere. 2016-03-29 16:46:03 -05:00
Jonathan Bernard 26f49d438d Remove circular reference within playlists table. 2016-03-28 17:34:28 -05:00
Jonathan Bernard f4d0289eab Fix a bug in ConfigWrapper. 2016-03-27 14:00:58 -05:00
Jonathan Bernard f3d95955c0 Core: when untagging, the tag is deleted if no more references to it exist. 2016-03-21 01:15:45 -05:00
Jonathan Bernard 902e97c309 Untested implementation of reorder and randomize in CLI. 2016-03-21 01:14:11 -05:00
Jonathan Bernard 72b4b0c9ff Added CLI helper to print invalid options errors for commands. 2016-03-21 01:13:44 -05:00
Jonathan Bernard 3d65a47781 Allow disc_number to be a string (1/2, 2/2, for example). 2016-03-21 01:12:38 -05:00
Jonathan Bernard 795a7c8c76 Added summary help section. 2016-03-17 10:43:16 -05:00
Jonathan Bernard 32f99df53e Fixed bugs introduced by trying to use DISCTINCT after ORDER BY. 2016-03-16 08:20:44 -05:00
Jonathan Bernard 8e145b244d Fixed a bug where media files associated with multiple artists or albums were returned multiple times. 2016-03-16 06:02:15 -05:00
Jonathan Bernard d2ed22d229 Rescanning now finds moved files by their hash.
More precisely, the MediaLibrary matches up files based on their file hash. If
it finds a files that matches an already known entry it doesn't create a new
entry, only updates the file path to the found file in the existing entry.

This is useful if files get re-organized or if an existing database is loaded
at an entirely new library root that contains mostly the same files (relocating
the library to another computer for example). This method preserves information
added to the database that was not originally present in the ID3 tags in the
media files (custom tags, name corrections, etc).
2016-03-16 05:52:41 -05:00
Jonathan Bernard 07fa7559ac Misnamed variable. 2016-03-16 04:04:42 -05:00
Jonathan Bernard a18c157112 Added short names for next and prev ('n' and 'p' respectively). 2016-03-16 04:03:24 -05:00
Jonathan Bernard f96a069df0 Fix status resetting every time through the repl. 2016-03-16 04:03:24 -05:00
Jonathan Bernard fb098c6603 Initial groundwork for WDIWTLT servlet. 2016-03-16 04:03:24 -05:00
Jonathan Bernard 392c94f39c Renamed ORM to DbApi. 2016-03-16 04:03:23 -05:00
Jonathan Bernard 7f41f8c4e1 Fixed broken ORM.untagMediaFiles. 2016-03-16 02:30:07 -05:00
Jonathan Bernard c1432477aa Fixed incorrect reference to processTag function. 2016-03-16 02:23:17 -05:00
Jonathan Bernard dbc62bf5c1 Adjusted the logging level for the CLI implemtnation. 2016-03-16 02:16:19 -05:00
Jonathan Bernard 26922edd12 Add the ability to list untagged files in core. 2016-03-16 02:14:58 -05:00
Jonathan Bernard eb17561d77 Added the ability to untag media files in core. 2016-03-16 02:14:40 -05:00
Jonathan Bernard 328957d6f7 Fixed joins in getMediaFilesWhere to use outer joins when not filtering by the joined table. 2016-03-16 02:14:11 -05:00
Jonathan Bernard 4905e32e6f Added untagging ability to CLI. 2016-03-16 02:13:05 -05:00
Jonathan Bernard adbd3620fb Added online help. 2016-03-16 02:10:06 -05:00
Jonathan Bernard fe80bed570 Fix tag retrieval. 2016-03-14 05:44:29 -05:00
Jonathan Bernard e1f64b7b86 Slow down bookmark updates. Allow tags to be selectable/listable. 2016-03-14 05:44:11 -05:00
Jonathan Bernard 26f6378125 CLI: Refactored significantly to work with new selection logic and management. 2016-03-14 03:51:48 -05:00
Jonathan Bernard 9205732b0e MediaLibrary: Moved some helpers for working with model classes, names, and files into here. 2016-03-14 03:50:51 -05:00
Jonathan Bernard e148acd897 ORM: added generic getWhere which delegates appropriately based on model type. 2016-03-14 03:50:11 -05:00
Jonathan Bernard 0f21c48e66 MediaFile: add track number to toString (if available). 2016-03-14 03:49:33 -05:00
Jonathan Bernard ad693e608e Model base class: implement Comparable<Model> 2016-03-14 03:49:11 -05:00
Jonathan Bernard ecf83e8589 Revamping interface definition. Not happy with the output of the last attempt. 2016-03-14 03:47:28 -05:00
Jonathan Bernard cf8aad8775 MediaLibrary: added cleanup behaviour, support for disc numbers when importing media. 2016-03-12 21:17:45 -06:00
Jonathan Bernard 400d3d1774 CLI: Added remove and jump commands. Allow multiple commands separated by ';'. Fixed empty selection behavior. 2016-03-12 21:17:45 -06:00