Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[airtunes/linux] - fix airtunes/shairplay not working on linux #15102
With latest iOS clients airtunes did not work on linux (tested on ubuntu 18.04 here) - it just didn't start the music stream.
This PR fixes it by:
This fixes also wrong track duration after the first start of airplay (seeking in the iOS client fixed it before), by delaying the progress information until the player our available.
Motivation and Context
AirTunes non-working on linux
How Has This Been Tested?
Tested on linux ubuntu 18.04 and MacOS High Sierra with iPhone running 12.1.1.
Screenshots (if appropriate):
Types of change
For completeness. I also tested on windows 10. There is no issue with the old lib. Technically there was no issue with the old lib on mac OS too. Only linux didn't work. But i figured if i bump depends i bump it for all depends platforms to prevent any ifdefery in there. So Windows does not need a lib bump (but also benefits from the paplayer fix ...)
…ted. Cache the reported start, end and current time and inform the player about those times once he is playing. Fixes missing progress/total time right after starting airplaying music