Commit Graph

116 Commits

Author SHA1 Message Date
Jonathan Bernard
49a250b63e ORM: implemented methods to remove empty albums, artists, and playlists. 2016-03-12 20:56:36 -06:00
Jonathan Bernard
33e470c871 Changes to the data model.
* Added bookmarks.{last_used,play_time_ms}.
* Removed playlists.mod_count
* Added tags.description.
2016-03-12 20:52:17 -06:00
Jonathan Bernard
7101535412 ScrollText now respects ANSI escape codes. 2016-03-12 20:49:20 -06:00
Jonathan Bernard
6d08caab80 Added vlcj dependencies for CLI. 2016-03-10 10:53:22 -06:00
Jonathan Bernard
3401060a70 CLI implementations for add, enqueue, and tag commands. 2016-03-10 10:53:22 -06:00
Jonathan Bernard
b0532f6733 Refactored CLI selection logic into a helper class. 2016-03-10 10:53:22 -06:00
Jonathan Bernard
1e03063400 MediaLibrary scan now reports file counts for its scan. 2016-03-10 10:53:22 -06:00
Jonathan Bernard
ca682625dc Updated tagging command interface in CLI documentation. 2016-03-10 10:53:22 -06:00
Jonathan Bernard
b689a42cb2 ORM Added correct playlist addition logic, media file tagging. 2016-03-10 10:53:22 -06:00
Jonathan Bernard
861717589c Added disc number. Fixed ordering, createdAt in Playlist file. 2016-03-10 10:53:16 -06:00
Jonathan Bernard
107e48a1d0 ORM changed double-quotes to single-quotes in strings with no interpolation. 2016-03-10 10:40:04 -06:00
Jonathan Bernard
976eb97b07 Refactored selectMatches to selectOneMatch. 2016-03-09 11:13:11 -06:00
Jonathan Bernard
32ad70c405 Minor change in quotation of SQL strigns. 2016-03-08 10:40:48 -06:00
Jonathan Bernard
710083131a Add tags filter to ORM.getMediaFilesWhere 2016-03-08 10:40:03 -06:00
Jonathan Bernard
99c883dbe5 Added the ability to specify a sorting when using the ORM.getAll function. 2016-03-08 09:46:30 -06:00
Jonathan Bernard
8edf542726 Added create_at fields on playlists and bookmarks. 2016-03-08 09:45:51 -06:00
Jonathan Bernard
47590a8c8f Added lastPlayed field on MediaFile. 2016-03-05 21:44:25 -06:00
Jonathan Bernard
a4013ed365 Added ordering logic to media file selection criteria. 2016-03-05 21:32:45 -06:00
Jonathan Bernard
13b0fa5bc4 Refactored selectMatches to break out the error handling into a re-useable function. 2016-03-05 21:30:59 -06:00
Jonathan Bernard
7cad273a0b Finished implementing clear command. 2016-03-04 20:53:57 -06:00
Jonathan Bernard
f80ff182ad WIP continuing implementation of CLI. 2016-02-29 12:39:07 -06:00
Jonathan Bernard
a1230dddfd Add the ability to clear a playlist. 2016-02-29 12:37:23 -06:00
Jonathan Bernard
83ffa2aafa Added CLI interface document. 2016-02-22 22:15:52 -06:00
Jonathan Bernard
5f5bdab238 Reworking command line select. Starting on others. 2016-02-22 22:15:33 -06:00
Jonathan Bernard
5245291aff Added list and select for playlists, bookmarks. 2016-02-15 16:31:52 -06:00
Jonathan Bernard
2010aa7d46 Added *Where functions for playlists, bookmarks, tags. Bugfixes. 2016-02-15 16:31:32 -06:00
Jonathan Bernard
a17589d540 Added defaults for Playlist object. 2016-02-15 16:30:43 -06:00
Jonathan Bernard
151ce9e462 Implemented list bookmarks and playlists (cli only, needs DAO). 2016-02-14 18:03:44 -06:00
Jonathan Bernard
688bea9103 WIP CLI Got the list command working for albums, artists, and media files. 2016-02-13 23:29:46 -06:00
Jonathan Bernard
6af528e46b Fixed library scanning to allow multiple artists/albums per file. 2016-02-13 23:29:05 -06:00
Jonathan Bernard
321b201cab Added generic query methods for Albums, Artists, and Media Files. 2016-02-13 23:28:30 -06:00
Jonathan Bernard
67ea1535a1 Added missing dependency on javax.persistence API. 2016-02-13 23:27:51 -06:00
Jonathan Bernard
8090b5b914 Added copied_from_id on playlists. Fixed timestamp values in models. 2016-02-13 23:27:30 -06:00
Jonathan Bernard
20e4733f5a WIP missed bit for CommandLineInterface. 2016-02-12 17:22:32 -06:00
Jonathan Bernard
ba57e39c45 Added worklog. 2016-02-12 17:21:21 -06:00
Jonathan Bernard
70aa706eac WIP Moving CLI to command-like input. 2016-02-12 17:21:03 -06:00
Jonathan Bernard
1354a92204 ORM returns models from save, create, and update. Also additional lookup functions to ORM. 2016-02-12 17:20:32 -06:00
Jonathan Bernard
105a61c11f Reworking media scanning to handle multiple artists/albums. Untested. 2016-02-12 17:19:32 -06:00
Jonathan Bernard
b4ce76063b Added a base Model class which implements equals. 2016-02-12 17:18:37 -06:00
Jonathan Bernard
a795397b3b Re-ordered argument lists for functions taking a model class. 2016-02-12 14:18:43 -06:00
Jonathan Bernard
069972bfd5 Changed to use standard JPA annotations. 2016-02-12 14:17:48 -06:00
Jonathan Bernard
f51c57c7e2 Minor bugfix. 2016-02-11 11:28:29 -06:00
Jonathan Bernard
90a11569da Implementing artist/album lookup in CLI. 2016-02-10 09:53:12 -06:00
Jonathan Bernard
6e6defe544 Changes to make the core ORM database agnostic. 2016-02-10 05:16:22 -06:00
Jonathan Bernard
6a73b1ca8c WIP Implementing fancy CLI input handling (not working). 2016-02-10 05:15:39 -06:00
Jonathan Bernard
f5ab973b43 CLI: Started implementing CLI configuration setup. 2016-02-09 17:47:00 -06:00
Jonathan Bernard
a2c9348a99 Added ConfigWrapper to unify the logic for locating configuration data. 2016-02-09 17:46:18 -06:00
Jonathan Bernard
e57a63b3aa Update build scripts for re-organized multi-project build. 2016-02-09 17:45:18 -06:00
Jonathan Bernard
a4d54cb05c Renamed module service->core. 2016-02-09 15:32:59 -06:00
Jonathan Bernard
cf82525832 WIP began work on CLI. 2016-02-09 15:32:23 -06:00