Commit Graph

267 Commits

Author SHA1 Message Date
Deluan c90a50827a Get() methods from all repositories now return a ErrNotFound when the id is nonexistent 2016-03-18 11:33:50 -04:00
Deluan a3238ce17b Cannot clear the index for now.
Have to come up with a solution to partially update the search index
2016-03-16 23:44:24 -04:00
Deluan 86da33f91d Revert "Always index songs and albums"
This reverts commit 4aa02e68e5.
2016-03-16 23:11:52 -04:00
Deluan 4aa02e68e5 Always index songs and albums 2016-03-16 15:35:21 -04:00
Deluan 31852ecf26 Better log 2016-03-15 17:44:15 -04:00
Deluan cdefabf760 Better log and less noise in prod mode 2016-03-15 17:31:35 -04:00
Deluan cad65f517c Polishing 2016-03-15 13:17:51 -04:00
Deluan 12aedc0996 Using checksums to detect modified stats in the iTunes Library 2016-03-15 11:04:17 -04:00
Deluan c01ce35f04 ignoring iTunesU and Podcasts (for now) 2016-03-13 22:11:44 -04:00
Deluan 27b47abfe0 Renamed method 2016-03-13 13:11:16 -04:00
Deluan 4d7f9ee012 Fixed iTunes location decoding 2016-03-12 11:36:24 -05:00
Deluan 329297dab8 Task for continuously check for iTunes Library updates 2016-03-11 19:02:51 -05:00
Deluan 12b0350d3e Task for continuously check for iTunes Library updates 2016-03-11 18:37:37 -05:00
Deluan 71f1fab575 Updated Date takes Last Played into account 2016-03-11 17:09:47 -05:00
Deluan f4c1dbdd3c Simplified DI resolution 2016-03-11 15:16:17 -05:00
Deluan 147a178933 Logging tracks/albums updates 2016-03-11 12:10:37 -05:00
Deluan 4780b54f01 Indexing everything 2016-03-10 23:24:30 -05:00
Deluan df957814a0 Implemented artists indexing, with Gomate 2016-03-10 23:19:13 -05:00
Deluan 2437eed586 Removed unnecessary "else"s 2016-03-10 09:37:35 -05:00
Deluan d8e6076d66 Skip tracks by mime type, not by iTunes kind
Also skip all special playlists (except iTunesU)
2016-03-10 09:37:25 -05:00
Deluan fc625ac70e Options to ignore patterns in playlists full path 2016-03-09 19:50:02 -05:00
Deluan a4e9d9da14 Option to ignore folder playlists 2016-03-09 19:06:50 -05:00
Deluan 4bb4fc0cb8 More playlists 2016-03-09 14:24:00 -05:00
Deluan 867ca0580c Just use html.UnescapeString.... 2016-03-08 20:54:50 -05:00
Deluan 8607e25c90 Moved properties to engine layer 2016-03-08 18:40:16 -05:00
Deluan 46e7627fd3 Optimized import, only updating changed data and purging old data 2016-03-08 14:19:07 -05:00
Deluan 56e9ad3def Silly bug... Where are the tests?!? 2016-03-07 09:24:35 -05:00
Deluan 0e492a053c Only read tag when the track was changed 2016-03-06 21:32:31 -05:00
Deluan be28ce1178 Better logging in scanner/importer 2016-03-06 20:42:53 -05:00
Deluan 319c829eea Hashs for Album and Artist IDs should be case insensitive 2016-03-06 11:55:17 -05:00
Deluan 36adace7a3 Better logging 2016-03-04 22:50:04 -05:00
Deluan 7a21665c97 Handling a possible bug in the tag library 2016-03-04 22:29:29 -05:00
Deluan 0b6093ce5d Handling a NPE 2016-03-04 19:49:51 -05:00
Deluan 8ff1a94d75 Fixing ArtistName for Compilations / Various Artists 2016-03-04 17:35:13 -05:00
Deluan 1c9d7721ad Implemented more getAlbumList.view types 2016-03-04 17:01:14 -05:00
Deluan 766fdbc60c Big Importer/Scanner refactor 2016-03-04 16:42:09 -05:00
Deluan 9a246b5432 First version of getAlbumList.view working.
- It still misses almost all type options
- Introduced "parent" in Child subresponse, as it was breaking DSub
2016-03-04 09:09:16 -05:00
Deluan 4b70daf143 Converted scanner to a proper Import "class", to facilitate testing 2016-03-03 20:01:27 -05:00
Deluan 848809d0df Supporting starred in getMusicDirectory.view 2016-03-03 15:41:24 -05:00
Deluan 1b945831cc Implementing coverArt 2016-03-03 10:34:17 -05:00
Deluan f01a5f143d Added Starred for Album and MediaFile 2016-03-03 01:07:13 -05:00
Deluan 012958cd08 go fmt 2016-03-03 00:46:23 -05:00
Deluan ffd6304a23 Added DiscNumber field, used to sort tracks 2016-03-03 00:42:42 -05:00
Deluan 1aeb22dcb7 Fixed (?) Artist x AlbumArtist 2016-03-03 00:25:26 -05:00
Deluan 7d5cafb17a Fixed string decoding during import 2016-03-03 00:10:35 -05:00
Deluan e9a46b77ff Logging errors during import 2016-03-03 00:07:10 -05:00
Deluan eabee8b502 More track info 2016-03-02 23:51:26 -05:00
Deluan 757e1992d7 Bare bones getMusicDirectory for albums! 2016-03-02 23:15:17 -05:00
Deluan 51bae19191 Added Genre and Track Number to getMusicDirectory 2016-03-02 22:43:31 -05:00
Deluan 4843ccb46c go fmt 2016-03-02 13:18:39 -05:00
Deluan 300ed0d9a4 Introduced interfaces for all repositories, completely isolating the persistence layer from the repositories usage and specification 2016-03-02 09:43:00 -05:00
Deluan 272a499c7e Refactoring to a cleaner architecture 2016-03-02 09:10:28 -05:00
Deluan 25a9320bce Sorting artist index 2016-03-01 19:52:58 -05:00
Deluan 5b65f85578 Fixed ampersand unescaping error 2016-03-01 18:19:57 -05:00
Deluan c64a0f8242 Implemented proper index grouping 2016-03-01 17:54:13 -05:00
Deluan 841d8f457f Implemented ProperyRepository. Now the Scanner stores the LastScan timestamp 2016-03-01 14:40:26 -05:00
Deluan 1ceefda6ca TODO 2016-03-01 13:31:52 -05:00
Deluan 54460d5860 Empty tests should be skipped 2016-03-01 12:43:55 -05:00
Deluan 1a4f783669 Some refactoring 2016-02-29 13:56:09 -05:00
Deluan 1c47b7b8ef Added empty tests in each package, to get the more precise coverage percentage 2016-02-29 13:38:41 -05:00
Deluan 49b512fc9c Big LedisDB refactoring 2016-02-29 01:06:42 -05:00
Deluan 515279606a Basic scanning working. Time to retrofit some tests.... 2016-02-28 15:46:53 -05:00
Deluan 14e52576a7 Scanning artists and albums too 2016-02-28 14:21:12 -05:00
Deluan bccfeec2d3 Added TODO 2016-02-28 09:44:32 -05:00
Deluan 280068373f Introduced CountAll for repositories 2016-02-28 02:56:41 -05:00
Deluan ecc0df9e7c More experimenting with tiedot 2016-02-27 03:35:01 -05:00
Deluan 85ddd19c3d Implemented first repository using tiedot 2016-02-26 01:32:31 -05:00