Commit Graph

5391 Commits

Author SHA1 Message Date
ejurgensen
07972c28f7 [raop] Only send exact types of metadata requested by device
Airport Express announces md=2, meaning only progress metadata, so we shouldn't
send artwork and text metadata to it.
2020-04-24 18:46:17 +02:00
ejurgensen
4491928466 [player] Don't send metadata before the input has started
Otherwise we have a race condition between the worker and the input thread. If
the worker returns with metadata before the input thread has started reading,
then pb_session.pts will still be zero, which means metadata->pts will be zero
in finalize_cb(). That is an invalid time to give the outputs.
2020-04-24 18:46:17 +02:00
ejurgensen
e2205e2399 [raop] Fix calculation of metadata progress values 2020-04-24 18:49:03 +02:00
ejurgensen
8070c2f68c [outputs] Change rtp timespec arg to take value instead of pointer 2020-04-24 18:46:17 +02:00
ejurgensen
349b05bd4f [raop] Use progress metadata to keep ATV4/Homepod connection alive (issue #734)
Instead of using OPTIONS we use SET_PARAMETER with progress metadata to avoid
disconnects from Apple TVs, Homepods and possibly also Airport Expresses.
2020-04-24 18:46:17 +02:00
chme
9b84148e72 [htdocs] Add new "legacy" js files to Makefile 2020-04-24 06:30:27 +02:00
chme
885cdf11f1 [htdocs] Rebuild player web interface v0.7.0 2020-04-24 06:30:27 +02:00
chme
72d790aec5 [web-src] Build web interface with modern option
This results in separate js files for browsers that support ES2015
and those that do not. Should reduce file size and parsing performance
for modern browsers.
2020-04-24 06:30:27 +02:00
chme
70bb1cbc7a [web-src] Order new podcast episodes by release date 2020-04-24 06:30:27 +02:00
chme
6946c309c9 [web-src] Only show error message for api requests with valid url 2020-04-24 06:30:27 +02:00
ejurgensen
01033c0662 [cast] Fix incorrect log level 2020-04-22 00:00:09 +02:00
ejurgensen
886557f946 [cast] Better logging of app not launching 2020-04-20 21:40:39 +02:00
chme
fe0ca815a7 [web-src] Always show cover artwork in album dialog
If no artwork is available or not yet loaded, falls back to the
generated cover artwork. Avoids jumping of dialog after loading of
remote image finished.
2020-04-20 19:24:25 +02:00
chme
f2d4b88c12 [web-src] Do not rely on name of playlist for podcast deletion 2020-04-20 19:24:25 +02:00
Christian Meffert
a1cf32172a
Merge pull request #955 from chme/jsonapi-track-playlists
Add JSON API endpoint to fetch playlists for a track
2020-04-19 07:21:58 +02:00
chme
e479ef2eaa [README] Add new endpoint for tracks/id/playlists to API doc 2020-04-19 06:44:13 +02:00
chme
df0c36f4f4 [jsonapi] Add new endpoint to fetch playlists for a track
The new endpoint `api/library/track/{id}/playlists` allows to fetch all
playlists that contain the track.
2020-04-19 06:44:13 +02:00
ejurgensen
aa9a08aedb [alsa] Improvements to commit 0a08b93 2020-04-18 21:35:47 +02:00
ejurgensen
515232e7fc
Merge pull request #950 from whatdoineed2do/alsa-device-listing
[alsa] option to list alsa devices/mixers suitable for playback
2020-04-18 20:54:28 +02:00
whatdoineed2do/Ray
0a08b93c24 [alsa] list alsa devices/mixers suitable for playback 2020-04-18 11:36:41 +01:00
chme
5074b158bd [rss] Always use RSS feed title and author for album and artist 2020-04-18 11:46:44 +02:00
Christian Meffert
8bdabea488
Merge pull request #941 from uvjustin/master
Updated websocket.c to notify once per event cycle
2020-04-18 09:48:48 +02:00
Justin Wong
c0b3782578 Updated websocket.c to notify once per event cycle 2020-04-18 15:11:39 +08:00
chme
4b1688ceb8 [web-src] Generate cover image if not available for now playing page,
and some styling changes for the navbars
2020-04-18 07:02:45 +02:00
chme
65b444f0a3 [web-src] Update dependencies 2020-04-18 07:02:03 +02:00
chme
bbacf3e406 [web-src] Add seek forward/backward buttons for podcasts/audiobooks 2020-04-18 07:02:03 +02:00
whatdoineed2do/Ray
45e7816637 [web-src] skip fwd/back only for non url/pipe 2020-04-18 07:02:03 +02:00
whatdoineed2do/Ray
cb6b1919a8 [web-src] add fast skip fwd/back on now playing
Conflicts:
	web-src/src/pages/PageNowPlaying.vue
2020-04-18 07:02:03 +02:00
chme
b298fc1170 [web-src] Restyling of navbars and now playing page 2020-04-18 07:02:03 +02:00
ejurgensen
3994ef0f2e [jsonapi] Add endpoint for playlist update of query_limit
Makes it possible to set number of podcasts retrieved for RSS feeds.

Closes #951.
2020-04-17 20:10:58 +02:00
ejurgensen
95bc6e3e70
Merge pull request #946 from whatdoineed2do/scan-rss-rescan-fix
[library] RSS bug fix - meta rescan resets "play count" and other fields
2020-04-17 11:21:29 +02:00
whatdoineed2do/Ray
3d869b0857 [library] RSS - reuse db file id when performing meta scan
Fixes issue when performing an 'api/rescan' (results in RSS_SCAN_META scan type
in this module) that would result in a library_media_save() -> a readd even for
entries that already exist in db.  This would result in dropping db record, incl
play_count etc instead of an update
2020-04-17 09:44:51 +01:00
ejurgensen
4d68e101dc
Merge pull request #949 from whatdoineed2do/readme-alsa-update
[README] updates for ALSA
2020-04-16 20:03:36 +02:00
whatdoineed2do/Ray
5aa83cedfb [README] updates
- add troubleshooting section
- clarify requirement on amixer device
- notes on using the alsa equalizer plugin
2020-04-16 10:30:49 +01:00
ejurgensen
24e3ac1a80 [rsp] Filter out non-file sources since they can't be played 2020-04-15 22:05:19 +02:00
chme
1d24622c99 [web-src] "add podcast" dialog updates 2020-04-15 20:17:24 +02:00
chme
af2c79a2f4 [web-src] Refactor "remove podcast" handling 2020-04-15 20:17:24 +02:00
chme
77b4ea657a [web-src] Move "mark all played" to album modal 2020-04-15 20:17:24 +02:00
chme
6424e23f14 [web-src] Do not show queue save dialog if queue is empty 2020-04-15 20:17:24 +02:00
chme
936b7f7b5d [web-src] Style change for update and rescan buttons in About page 2020-04-15 20:17:24 +02:00
ejurgensen
8bba3ee913
[docs] README update about Spotify + RSP, ref issue #944 2020-04-15 16:11:31 +02:00
ejurgensen
1c08b75ce5 [httpd] Improve log and error message 2020-04-15 16:00:18 +02:00
ejurgensen
19358dc869 [mxml] Simplify mxml workarounds 2020-04-15 15:59:15 +02:00
ejurgensen
5ad5f85cc4 [mxml] Workaround mxmlNewTextf/mxmlSaveString segfault
Occurs on amd64 Debian 10.x with mxml 2.12
2020-04-15 15:59:15 +02:00
ejurgensen
e6ef106065
Merge pull request #943 from uvjustin/update-volume-on-reconnect
Update volume on device reconnect
2020-04-14 20:12:59 +02:00
Justin Wong
938a19ff15 Update volume on device reconnect 2020-04-14 23:49:34 +08:00
ejurgensen
805cd16442 [pairing] Remove dead assignment 2020-04-13 21:39:59 +02:00
ejurgensen
c43e009cb6
[docs] README notice about radio streams not served to iTunes 2020-04-12 20:04:44 +02:00
ejurgensen
90eb333f03
Merge pull request #933 from nhannam/raop-configurable-ports
[raop] Allow configuration of raop control and timing ports
2020-04-12 19:49:49 +02:00
ejurgensen
a1f88eb19f
Merge pull request #940 from chme/artwork-podcasts
[artwork] Ignore streams with media kind != music in artwork sources
2020-04-12 19:49:07 +02:00