- 25 Jan, 2016 2 commits
-
-
Hugo Beauzée-Luyssen authored
This is mostly aiming at future proofness, in case we combine multiple fetches in a single request. Having an unextracted column would cause it to be extracted as the first column of the next entity.
-
Hugo Beauzée-Luyssen authored
-
- 21 Jan, 2016 5 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
- 20 Jan, 2016 1 commit
-
-
Hugo Beauzée-Luyssen authored
-
- 11 Jan, 2016 2 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
This also fixes an assertion when refusing to fetch an entity because of a failed precondition, since we wouldn't cache the entity. But moreover, it reduces contention
-
- 07 Jan, 2016 2 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
So far, we only handle the case where a Media has multiple files
-
- 06 Jan, 2016 2 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
Instead, have a FOREIGN KEY in those extension tables This also mandates a media to be provided when creating a movie/showepisode, and constify the extension getters
-
- 05 Jan, 2016 1 commit
-
-
Hugo Beauzée-Luyssen authored
-
- 04 Jan, 2016 3 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
- 30 Dec, 2015 6 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
This is now only part of the test implementation, and allows us to remove quite a bit of overhead
-
Hugo Beauzée-Luyssen authored
Instead of re-computing it dynamically while it's never going to change
-
Hugo Beauzée-Luyssen authored
As a result, the Media.Duplicate test is obsolete, since a filename isn't unique in itself. Only the couple (mrl, folder_id) is UNIQUE. However, UNIQUE doesn't apply when the folder_id foreign key is NULL Uniqueness has been manually tested for a real folder/mrl couple
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
This reverts commit d21a8761.
-
- 22 Dec, 2015 1 commit
-
-
Hugo Beauzée-Luyssen authored
Using 0 as the default value would cause the VLCMetadataService to wrongly assume the media was already parsed in case the media gets loaded from the database (so, if the media isn't parsed during the first application run)
-
- 05 Dec, 2015 1 commit
-
-
Hugo Beauzée-Luyssen authored
This is meant to be then plugged with removable devices
-
- 17 Nov, 2015 2 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
- 16 Nov, 2015 2 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
Instead of having a per-field SQL request.
-
- 13 Nov, 2015 2 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
Even though it does exactly the same as as executeUpdate/executeDelete, it improves clarity
-
- 12 Nov, 2015 4 commits
-
-
Hugo Beauzée-Luyssen authored
Reading from the DB is "cheap", and the cache hurts the maintainability of the code. This removes the CachePolicy and CacheColumn field from TablePolicy. Instead, a PrimaryKeyColumn has been added to TablePolicy
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
Instead, have the caller specify which type they want. This allows us avoid using those ugly std::static_pointer_cast
-
Hugo Beauzée-Luyssen authored
This is lighter, and allows us to use the interface type instead of the implementation type as the key() method parameter.
-
- 29 Oct, 2015 1 commit
-
-
Hugo Beauzée-Luyssen authored
Simply store every media track as a new record in their respective tables. There is too much incertainty regarding what we will parse and whether or not the tracks will appear as different for a single media.
-
- 26 Oct, 2015 2 commits
-
-
Hugo Beauzée-Luyssen authored
This fixes a contraint violation exception when trying to handle multiple tracks, with the language as their only differences.
-
Hugo Beauzée-Luyssen authored
-
- 21 Oct, 2015 1 commit
-
-
Hugo Beauzée-Luyssen authored
Media now always have a single artist Artist are being added media The album artist meta is used to generate the list of artists The artist meta isn't used for artists list
-