tzugen
892b441c0d
Move Track and Album to their own files
2022-03-27 16:39:35 +02:00
tzugen
2de59b2206
Rename MusicDirectory.Entry to Track to make more clear what it is
2022-03-27 16:39:35 +02:00
Nite
6bfd06c6a0
Updated Search2 Artist result to use Index instead of Artist
...
(As needed for listing the Artist's albums afterwards)
2022-03-15 10:31:38 +01:00
tzugen
10b83805a9
Create a correctly typed list from getMusicDirectory()
2021-12-21 13:31:58 +01:00
tzugen
f1e789ea9b
Fixed search, put compareTo method into Interface
2021-11-30 21:21:04 +01:00
tzugen
bdac092eff
Make SearchResults expandable,
...
finish music folder support,
change Service interface of AlbumList to return listOf(Album)
2021-11-30 00:47:03 +01:00
tzugen
4e37a2483c
Add an MusicDirectory.Album model to represent the APIAlbum model
...
It became necessary in order to have different types for Tracks vs Albums,
instead of just differentiating by isDirectory: Boolean.
Also:
* Fix Album display in SearchFragment.kt
* Use same ids in all lists
2021-11-28 19:13:24 +01:00
tzugen
bb36116d70
Add .ifNotNull extension function as a more readable alternative to ?.let
2021-11-09 22:20:41 +01:00
Nite
eff1a714e2
Fixed album lists in landscape mode
...
Fixed starring on album lists
Fixed reading starred state on the Subsonic API
2021-10-12 15:16:40 +02:00
tzugen
b546f2c2fb
The Tests actually caught an error :)
...
If shortcuts were set, these were added as duplicates to the list.
2021-06-29 18:01:26 +02:00
tzugen
dbdb59bbff
Add a Room database for Artists, Indexes and MusicFolders.
...
* There is one database for each Server
* Index items are saved with a "musicFolderId" prop, which makes it possible to filter the database by musicFolder without necessarily having to query the server for it.
* Databases for new Servers are created on the fly
* If the user removes a server, the respective database is deleted.
2021-06-29 18:01:26 +02:00
tzugen
3257fb9153
Make Entry always have an id
2021-05-26 23:19:16 +02:00
Nite
47e5675d1e
Added coverArt images to Artists
...
Minor fixes
2020-11-18 21:46:46 +01:00
Nite
de7eaef668
Updated Gradle to 6.5
...
Tried to satisfy ktlint rules
2020-06-13 19:04:31 +02:00
Nite
ab624be93d
Implemented five star rating
2020-01-13 21:20:52 +01:00
Yahor Berdnikau
ad52e3ad95
Move domain entities to own module.
...
This allow other modules to depend on them.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-10 19:42:28 +01:00
Yahor Berdnikau
182eb7ec3b
Fix unit tests.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 22:19:34 +01:00
Yahor Berdnikau
a11037ecf1
Fix ChatMessage was not data class.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 22:19:17 +01:00
Yahor Berdnikau
440eb4067d
Fix missing empty line in the end.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:47:41 +01:00
Yahor Berdnikau
1fe6da5f46
Convert MusicDirectory domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:45:28 +01:00
Yahor Berdnikau
47d5a4dba1
Convert Artist domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:30:39 +01:00
Yahor Berdnikau
3e3d39e2cd
Convert Bookmark domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:23:48 +01:00
Yahor Berdnikau
817122c16f
Convert ChatMessage domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:18:23 +01:00
Yahor Berdnikau
ea5fd0d1be
Convert Genre domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:57:10 +01:00
Yahor Berdnikau
9ddd68f941
Convert Indexes domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:46:53 +01:00
Yahor Berdnikau
21b3fcc77c
Convert JukeboxStatus domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:36:58 +01:00
Yahor Berdnikau
3dd7e531b9
Convert Lyrics domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:26:40 +01:00
Yahor Berdnikau
a1f2132a17
Convert MusicFolder domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:18:24 +01:00
Yahor Berdnikau
b3d70f8745
Convert Playlist domain enum to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:16:41 +01:00
Yahor Berdnikau
5265e58d47
Convert Playlist domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:15:32 +01:00
Yahor Berdnikau
257a014b18
Migrate PodcastsChannel entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-21 22:38:13 +01:00
Yahor Berdnikau
82e265fda9
Migrate RepeatMode enum to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-21 22:09:34 +01:00
Yahor Berdnikau
773158859e
Migrate SearchCriteria entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-21 22:07:11 +01:00
Yahor Berdnikau
8c5944d858
Migrate SearchResult entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-21 22:05:38 +01:00
Yahor Berdnikau
20773761fa
Migrate Share entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-21 21:51:40 +01:00
Yahor Berdnikau
cb02582740
Migrate UserInfo to Kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-20 22:08:34 +01:00
Yahor Berdnikau
4218698a16
Convert Version class to Kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-20 21:54:53 +01:00
Yahor Berdnikau
ef4d606db2
Move all converters to domain package.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-17 20:36:19 +01:00