Commit Graph

5403 Commits

Author SHA1 Message Date
chme
59bac6b068 [mpd] Add missing OK response line, if multiple commands are sent
without beeing wrapped in a command list
2020-11-22 11:33:40 +01:00
chme
ccaa7967bf [mpd] Fix nextsong/nextsongid in status cmd response 2020-11-22 11:33:40 +01:00
Christian Meffert
17e7df84fb
Merge pull request #1133 from chme/web_next
[web] Fix switching to Spotify search with empty query
2020-11-22 11:19:10 +01:00
Christian Meffert
c155a5c533
Merge pull request #1129 from chme/remove-admin-html
Remove (legacy) admin web interface
2020-11-22 11:15:49 +01:00
chme
2d9e0528e1 [docs] Update INSTALL.md - remove reference to admin.html 2020-11-22 10:27:10 +01:00
chme
95b798f44f [htdocs] Delete legacy admin web interface (all functionality is
implemented in the player web interface settings)
2020-11-22 10:27:10 +01:00
chme
13e8103962 [httpd/spotify] Remove redirect to legacy admin.html page 2020-11-22 10:27:10 +01:00
chme
09009f8d77 [htdocs] Rebuild v0.8.3 2020-11-22 10:19:15 +01:00
chme
075d8d1c22 [web-src] Update to v0.8.3 2020-11-22 10:19:00 +01:00
chme
b7369afc50 [web-src] Fix switching to Spotify search with empty query 2020-11-22 10:17:37 +01:00
Christian Meffert
b8a66a92cf
Merge pull request #1130 from chme/codeql
[gh-actions] Add codeql config file to exclude compiled js, html, css
2020-11-22 09:58:18 +01:00
ejurgensen
b6a686866a [xcode] Retry with default probe size if quick probe fails (issue #1126) 2020-11-21 20:40:30 +01:00
ejurgensen
04fa902b01 [xcode] Change open_input() to return ffmpeg error 2020-11-21 20:40:30 +01:00
ejurgensen
eea3a3bd27 [xcode] Fix memleak on open input error 2020-11-21 20:40:30 +01:00
ejurgensen
a0830727dd
Merge pull request #1131 from whatdoineed2do/rss-playlistitems-deletion-fix
[rss] defer playlistitems purge til ready to update with new rss
2020-11-21 20:31:38 +01:00
whatdoineed2do/Ray
2e69f5dac6 [rss] defer playlistitems purge til ready to update with new rss
Current impl fetches pl, purge pl items, fetch RSS, inserts entries.  If the RSS
fetch fails (remote server is temporary unreachable) the playlistitems for that
RSS are all dropped.

This has a side effect that RSS playlists cannot be determined from tracks (see
issue #1126) and thus cannot be deleted.

Simple fix to defer playlist item purge to the point that the RSS fetch is ok
and before the inserts
2020-11-21 14:01:39 +00:00
chme
5bb3cb1006 [gh-actions] Add codeql config file to exclude compiled js, html, css 2020-11-21 13:04:21 +01:00
Christian Meffert
f192b6dd2e
Merge pull request #1128 from chme/web_next
Player web interface v0.8.2
2020-11-21 12:04:22 +01:00
chme
ba0aa969b2 [htdocs] Rebuild player web interface v0.8.2 2020-11-21 11:59:29 +01:00
chme
94bdd18648 [web-src] Fix missing cover update for streams 2020-11-21 11:59:28 +01:00
chme
070f5bb8a9 [web-src] Fix Spotify search for single type 2020-11-21 11:08:26 +01:00
chme
cbfea854d2 [web-src] Search tab buttons now trigger search 2020-11-21 11:06:18 +01:00
chme
ee6419041a [web-src] Update dependencies and set version to v0.8.2 2020-11-21 10:01:38 +01:00
Christian Meffert
afb4594602
Merge pull request #1127 from whatdoineed2do/web-podcast-delete-typo
[web-src] typo blocking podcast deletion dialog
2020-11-21 09:51:56 +01:00
whatdoineed2do/Ray
c0ba076e2b [web-src] typo blocking podcast deletion dialog 2020-11-20 19:07:46 +00:00
ejurgensen
e3308a464b Merge branch 'castfix2' 2020-11-18 23:29:00 +01:00
ejurgensen
695927de2a [artwork] Remove old artwork_get_xxx in favor of new which has a format arg 2020-11-18 23:23:05 +01:00
ejurgensen
a9e6497be2 [cast] Increase packet buffer 2020-11-18 23:13:00 +01:00
ejurgensen
572c15a04d [cast] Remove some unused MEDIA_xxx commands 2020-11-18 23:13:00 +01:00
ejurgensen
bb8719718a [cast] Rename state enums, don't use MEDIA any more 2020-11-18 23:13:00 +01:00
ejurgensen
d5f5e312ab [cast] Add config option for max_volume, like for Airplay 2020-11-18 23:13:00 +01:00
ejurgensen
c21266d26f [cast] Use RTCP ACKs/nACKs from device to control how packets are sent
Previously we just sent packets when ready, which especially during startup
meant a largish number of packets got sent rapidly. This seemed to cause audio
glitches. With this change the rate is adapted to follow ACKs from the device,
which is more in line with Chromium's way, though still far from the same.

Also added capability to resend packets when a nACK is received.

Also some wip attempts at sending coverart as VP8 video.
2020-11-18 23:13:00 +01:00
ejurgensen
dff64e3dd0 [raop] Remove endian includes, now included via rtp_common.h 2020-11-18 23:13:00 +01:00
ejurgensen
06d1d7273d [player] Add a basic RTCP parser for Chromecast packets
Also put the endian includes in the header, both raop.c and cast.c will need
them.
2020-11-18 23:13:00 +01:00
ejurgensen
cd9fa019dd [misc] Add NTOSTR() macro
Get the string value of a number definition
2020-11-18 23:13:00 +01:00
ejurgensen
5929938a18 [outputs] RTP: Distinguish clearly between payload type and marker bit
Also make quality an optional input to rtp_session_new(), since it isn't
required internally by the RTP module.
2020-11-18 23:13:00 +01:00
ejurgensen
2098349fdb [artwork] Add ability to request a specific image format 2020-11-18 23:13:00 +01:00
ejurgensen
7e106aec09 [xcode] Add VP8 encoding profile 2020-11-18 23:13:00 +01:00
ejurgensen
a11ab808b2 [cast] Make fake announcement of video stream (fixes #1092)
For unknown reasons some Chromecast devices disconnect causing a TLS error if
we don't OFFER a video stream. Seems actually sending video isn't required to
fix the issue.
2020-11-18 23:13:00 +01:00
ejurgensen
db43d51568 [xcode] Explicitly set the frame duration of OPUS packets to 20 ms
Protect against errors in case future versions of ffmpeg change default
2020-11-18 23:13:00 +01:00
ejurgensen
ad4b886a11 [cast] Make GET_CAPABILITIES request in debug mode
Note that not all devices support this request
2020-11-18 23:13:00 +01:00
ejurgensen
92953f1a2c [cast] Use unsigned ints for ID's so we don't risk negative values
ssrc_id could become negative because rtp_session.ssrc_id is uint32, but we
were printing it with %d.
2020-11-18 23:13:00 +01:00
ejurgensen
504a66a315 [cast] Add some comments 2020-11-18 23:13:00 +01:00
ejurgensen
b86259fd57
[docs] Update README with Airplay troubleshooting info
Ref. issue #902 and #1123
2020-11-18 20:11:07 +01:00
ejurgensen
09b6225967
Merge pull request #1122 from sshambar/update-spec2
[spec] Add comment on reason for libplist-devel requires
2020-11-17 11:54:01 +01:00
Scott Shambarger
e30f755181 [spec] Add comment on reason for libplist-devel requires 2020-11-16 11:27:54 -08:00
ejurgensen
9239726c68
Merge pull request #1121 from sshambar/update-spec
[spec] Update rpm spec to handle libplist-devel name variations
2020-11-15 23:09:45 +01:00
Scott Shambarger
0195a56490 [spec] Update rpm spec to handle libplist-devel name variations 2020-11-14 12:24:08 -08:00
Christian Meffert
22a4af7b93
Merge pull request #1111 from whatdoineed2do/disable-playlist-caching
[db] playlist cache invalidation fix
2020-11-07 08:43:07 +01:00
ejurgensen
745fee4eb9 [db] Remove unused macro STR() 2020-11-05 23:02:44 +01:00