Commit Graph

5741 Commits

Author SHA1 Message Date
ejurgensen bbe7526414 [airplay] Update pairing modules (pair_ap 0.2) 2021-03-07 23:02:14 +01:00
ejurgensen 6b3573d4f5 [docs] Add Spocon instructions
Credit @GaWeiss, issue #295
2021-03-07 15:55:37 +01:00
ejurgensen 1093992455
Merge pull request #1199 from petersalas/remove-leftover-itunes
[scan] Remove leftover iTunes #ifdefs
2021-02-28 17:58:47 +01:00
Peter Salas 8ba35dfa19 [scan] Remove leftover iTunes #ifdefs 2021-02-28 08:31:16 -08:00
ejurgensen 036100eecd [cast] Length check of protobuf messages just to be safe 2021-02-17 22:45:45 +01:00
ejurgensen 07f012bd69
Merge pull request #1180 from ejurgensen/db_queue_refactor1
[db] Prepared statements for queue items + some refactoring
2021-02-16 17:34:26 +01:00
ejurgensen 13be7999cb [db] Add some headers in db_upgrade.c for easier navigation 2021-02-10 20:05:56 +01:00
ejurgensen bd91a238ec [db] Upgrade schema to 21.06, change default of query_limit to 0 2021-02-10 20:04:56 +01:00
ejurgensen 79b4a070b0 [db] Change type of "disabled" to int64
Before the value in the db was not read straight into mfi->disabled and
pli->disabled, instead it was evaluated as != 0, so the ->disabled field
would just be true or false. This was also necessary when INOTIFY_FAKE_COOKIE
(1 << 32) was written to the DB, because it could not fit in the uint32 of
mfi->disabled/pli->disabled.

I consider this juggling poor practice, so with this change it is read straight
in and out, always as a int64.
2021-02-09 15:16:06 +01:00
ejurgensen b6163c9d34 [db] Fix bug in bind_generic, input to sqlite3_bind_int64 should be int64_t 2021-02-09 15:16:06 +01:00
ejurgensen 1fa1d9091b [db] Consolidate setting struct fields from database queries 2021-02-09 15:16:06 +01:00
ejurgensen 689d1ce3dd [db] Refactor queue_item functions
- Use prepared statements
- Add qi_mfi_map that defines mapping between mfi, dbmfi and qi
- Use qi_cols_map/qi_mfi_map for iteration (avoid duplicating field references)
- Stick to "qi" as name for a queue_item in db.c (more similar to mfi/pli/gri)
- Some renaming and other minor stuff in db.c's queue code
2021-02-09 15:16:06 +01:00
ejurgensen 76c52bba3b [rsp] Add ALAC as a codec Roku supports (ref issue #1182) 2021-01-29 20:31:53 +01:00
ejurgensen ac6d87656a [airplay] Change recommended airplay2-receiver repo 2021-01-29 20:30:22 +01:00
ejurgensen 7004b08fbc
Merge pull request #1178 from chme/fix-db-updgrade
[db] Remove break after v2103 db update and directly run update for v2104
2021-01-23 16:49:36 +01:00
chme f75947f29a [db] Remove break after v2103 update and directly run update for v2104
The break results in the ugrade stopping at v2103 and only after another
restart of forked-daapd the update to v2104 happens. Removing it will
directly update to the latest DB version.
2021-01-23 16:32:41 +01:00
ejurgensen 728d253e1f [jsonapi] Make updating of currently playing track metadata easier
Update to commit #aaffa4a that makes it easier to update currently playing
track, user can use "now_playing" instead of getting the queue item id.
2021-01-21 22:46:19 +01:00
ejurgensen aaffa4a83f [jsonapi] Add support for updating queue_item metadata (closes #1153)
This commit also changes db.c's sort_tag_create to always recreate sort tags,
so that they match source tags, should they have changed. Unclear to me why
the previous solution didn't do that, so will probably regret this change when
it dawns on me.
2021-01-21 20:56:05 +01:00
ejurgensen 275d66b6ad [airplay] Use compressed ALAC to save bandwidth
Uses ffmpeg to compress ALAC. Before each audio packet was always 1411 bytes,
now they are half or even much less if it is just silence.
2021-01-18 00:19:34 +01:00
ejurgensen 1977db0319 [xcode] Add profile for ALAC encoding 2021-01-18 00:19:34 +01:00
ejurgensen f105958a64 [airplay] Fix so that AirPlay 2 devices are removed 2021-01-18 00:19:34 +01:00
Christian Meffert 5ece7b9591
Merge pull request #1170 from chme/mpd-modified-since
[mpd] Support search/find/count with `modified-since` filter criteria
2021-01-16 11:08:52 +01:00
chme 0334269989 [mpd] Support search/find/count with `modified-since` filter criteria 2021-01-16 10:45:15 +01:00
Christian Meffert bbcf859b14
Merge pull request #1169 from chme/web_next
Web interface v0.8.5
2021-01-16 08:48:41 +01:00
chme 9ff06f094d [htdocs] Rebuild web interface v0.8.5 2021-01-16 08:23:50 +01:00
chme 18c3e6686c [web-src] Update dependencies 2021-01-16 08:13:05 +01:00
chme ca9f0d8b5e [web-src] Text change to settings, device verification 2021-01-16 08:11:36 +01:00
ejurgensen 60b096c707 [airplay] Make auth-setup easier to test via a define switch 2021-01-14 22:53:09 +01:00
ejurgensen 8b9e064af9 [raop] Lower log level 2021-01-14 22:46:20 +01:00
ejurgensen b2b91998d9 [airplay] Fix decryption of large responses
If the response is large evrtsp will not read the entire message from the
socket. This change allows for decryption and parsing of partial messages.
2021-01-14 21:36:47 +01:00
ejurgensen 73c5dcec5a [airplay] Update pairing, change ciphering function return values 2021-01-14 21:29:22 +01:00
ejurgensen ccfca52e8d [docs] Update README.md: troubleshooting Spotify OAuth redirect 2021-01-12 23:21:25 +01:00
ejurgensen 754f69bb10 [airplay] Change logging for devices that don't have AirPlay 2 features field
Closes #1167 re announcement from Kodi
2021-01-12 17:59:43 +01:00
ejurgensen 74f4b2c8b2 [airplay] Fixup 2021-01-12 17:56:47 +01:00
Christian Meffert 74c87f3080
Merge pull request #1165 from chme/web_next
Update web interface v0.8.4
2021-01-11 20:12:11 +01:00
chme cfef26127a [htdocs] Build web interface v0.8.4 2021-01-11 20:00:07 +01:00
chme d5f8129b71 [web-src] Fix for wrong AirPlay output icon 2021-01-11 20:00:06 +01:00
chme e168918b95 [web-src] Remove now unused ModalDialogAlbums 2021-01-11 19:40:05 +01:00
chme bda1e096cf squash! [web-src] Update dependencies 2021-01-11 19:40:05 +01:00
chme 1a6c76d990 [web-src] Refactor "recently added" - group in JS instead of doing 3 queries against the back end 2021-01-11 19:40:05 +01:00
chme cdc7d7a1da [web-src] Fix linting errors 2021-01-11 19:40:05 +01:00
chme 4f5e736b6b [web-src] Update dependencies 2021-01-11 19:40:05 +01:00
whatdoineed2do/Ray b985634924 [web-src] recently added - optimise fetch of 'older' albums in mounted() when mixin async data known 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray 52d765900c [web-src] recently added - only show up to requested limit on albums 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray 5fa2955bff [web-src] use settings to determine the number of albums to retreive on recently added page 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray 08397058f1 [web-src] recently added - retreive all data in one async go 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray 5eeadd3f1b [settings] add webinterface.recently_added_limit 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray eacb6a17eb [web-src] Settings int field hanlder 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray 7145db3369 [web-src] recently added - add modal play/add/add next for sections 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray a9e365eb3e [web-src] modal for multiple albums 2021-01-11 19:40:04 +01:00