Commit graph

105 commits

Author SHA1 Message Date
antonio
e337c6faf2 Separate the functions for creating a mediaItem from a Child object and from a Download object 2023-03-12 16:34:38 +01:00
antonio
20052ff054 Removed unused context parameters 2023-03-10 19:02:25 +01:00
antonio
e98429503b Removed almost all hardcoded constants 2023-03-10 16:56:53 +01:00
antonio
a4b31a9c02 Code decontextualization 2023-03-10 15:21:02 +01:00
antonio
521c51b17e - Switched from subsonic-response in xml to response in json
- Retrofitting of all Subsonic models
2023-03-08 19:19:09 +01:00
antonio
ca15f51c85 - Removed middle layer of abstraction for subsonic classes
- Used kotlin for classes
2023-03-06 21:59:10 +01:00
antonio
aea5b5fc14 Converting exception logs to printStackTrace 2023-01-06 23:10:34 +01:00
antonio
105d5ca9c5 Optimized the history saving and scrobbling functions 2023-01-06 21:42:57 +01:00
antonio
af0ca7c218 Revert - Cast context - removed deprecated methods 2023-01-02 18:23:00 +01:00
antonio
7aef9af9b4 Cast context - removed deprecated methods 2022-12-30 11:39:05 +01:00
antonio
16b5f987e8 Test - Added dataSourceFactory 2022-12-29 19:13:17 +01:00
antonio
07ec187d85 Code formatting 2022-12-29 13:49:00 +01:00
antonio
e6bf87b31f TEST - Initialize the player by setting renderersFactory and mediaSourceFactory 2022-12-29 13:48:16 +01:00
antonio
68b6aad96f Marked the class with the UnstableApi annotation 2022-12-29 13:43:45 +01:00
antonio
490cce53e5 Removed UnsafeOptInUsageError annotation after media3 library update 2022-12-28 14:29:09 +01:00
antonio
ff8bf4f6bf Saving play history. The tracks are saved in the db at the time of playback and every week a list of the most played tracks is generated in the home page in grid format 2022-12-28 14:25:59 +01:00
antonio
1e5bb289e2 Hidden custom commands in notification 2022-08-26 18:25:55 +02:00
antonio
fc9f4054dd The service that manages the music player has been rewritten in kotlin 2022-08-26 18:14:29 +02:00
antonio
a3861cc3c6 Replaced MediaSourceFactory with DefaultMediaSourceFactory 2022-03-12 14:55:16 +01:00
antonio
94e63740e6 Lint suppression 2022-03-12 14:10:15 +01:00
antonio
969d18ac85 Null checking 2022-03-12 14:09:30 +01:00
CappielloAntonio
6c3327d474 Limited scrobble on LastFm for music-type media only 2022-02-08 20:39:03 +01:00
CappielloAntonio
27ea7e4efa Used the Media object where previously the Song object was used 2022-02-07 17:38:15 +01:00
CappielloAntonio
d1d341ff9b Refactor Song to Media 2022-02-07 09:47:46 +01:00
CappielloAntonio
1d38c44b36 Suppress Lint for Media3 2022-02-05 18:42:43 +01:00
CappielloAntonio
e71cb5fd5c Null checking 2022-01-11 15:50:38 +01:00
CappielloAntonio
6675549ca6 Hide (and not reset) music player on bottomSheet hiding 2022-01-11 12:51:10 +01:00
CappielloAntonio
75bad72d83 First basic implementation of cast functionality 2022-01-06 11:07:39 +01:00
CappielloAntonio
2d82007abd Reset user/music/db sessions on logout 2022-01-04 19:12:06 +01:00
CappielloAntonio
eb34473706 Created a style file dedicated only to fonts 2022-01-04 16:04:21 +01:00
CappielloAntonio
cdc01a8d26 Enabled scrolling to LastFM 2022-01-04 15:31:52 +01:00
CappielloAntonio
d8350ed281 Removed unused download state listener 2022-01-03 15:12:49 +01:00
CappielloAntonio
9fdc9ff44d Renaming functions 2022-01-02 17:45:11 +01:00
CappielloAntonio
40866a2855 Saved the playback position when the player is paused 2022-01-02 17:43:30 +01:00
CappielloAntonio
e4d09f3bc0 Renamed DownloaderTracker to DownloaderManager 2022-01-02 16:40:23 +01:00
CappielloAntonio
d2ad0188b7 Saved in database downloaded playlists 2022-01-02 15:50:59 +01:00
CappielloAntonio
f416bfda8f Save in the database what has been downloaded 2022-01-02 11:30:16 +01:00
CappielloAntonio
dee845ebff Reimplemented a basic track download functionality 2022-01-01 21:55:15 +01:00
CappielloAntonio
b7a77cf32b Removed all references to drm 2022-01-01 12:30:16 +01:00
CappielloAntonio
9feaeec7cc Initialization of the download logic 2021-12-31 21:36:50 +01:00
CappielloAntonio
6aafc7dfac Pause (but not reset) music on bottom sheet collapsed 2021-12-31 16:50:14 +01:00
CappielloAntonio
c046533d49 Fix a bug on playNext 2021-12-30 20:49:28 +01:00
CappielloAntonio
82d9a8bb16 Method renamed 2021-12-30 20:27:08 +01:00
CappielloAntonio
7b5bbd7d53 Queue elements are now clickable and customized 2021-12-30 20:25:51 +01:00
CappielloAntonio
15e7c28b14 The last element listened to is the first in the list at the next start 2021-12-30 20:07:20 +01:00
CappielloAntonio
9328ec87ab Init media3 queue on startup 2021-12-30 19:31:13 +01:00
CappielloAntonio
60b741bc11 Finally fixed the music queue and swap logic 2021-12-30 18:13:50 +01:00
CappielloAntonio
a8b014296f Initialized the song recovery logic 2021-12-29 21:22:52 +01:00
CappielloAntonio
ed3f0cfaa3 Cleanup service code 2021-12-29 19:08:39 +01:00
CappielloAntonio
586054240f Moved ListenableFuture waiting logic to MediaManager 2021-12-29 19:08:10 +01:00