taylorbourne / xteve_lazystream

Docker bundle that provides xTeVe and guide2go for enhanced guide data and Plex/Emby IPTV integration, and Lazystream for integrated high-quality NHL and MLB games.
71 stars 26 forks source link

Add aarch64 support and Channels DVR support #49

Closed nkm8 closed 3 years ago

nkm8 commented 3 years ago

For the new Dockerfile, I committed the original in a separate commit so that you can see a diff of the changes here: https://github.com/taylorbourne/xteve_lazystream/commit/13f264d7bbbabae235a4eef0d92a75d2ccf0a36f

I am not sure if anyone else has the same use case as me, but these changes allow me to run the new Docker image on a Raspberry Pi 4. I am using a forked version of the glibc package with aarch64 support - found via this open issue on the main repo: https://github.com/sgerrand/alpine-pkg-glibc/issues/113

I also added Channels DVR support, which has the same M3U/custom DVR functionality as Plex.

taylorbourne commented 3 years ago

This is sweet! Though we'll need to update the readme and a few other places that specifically mention Plex/Emby.. I'll handle that seperately. 👍

taylorbourne commented 3 years ago

@nkm8 should I be publishing this arch64 version to dockerhub as well? Or does having the dockerfile suffice here? Just thinking if it's worth the extra mess – would many others benefit from this?

nkm8 commented 3 years ago

@taylorbourne It's your call - I am using docker-compose on Portainer, so I had to push a custom build to docker hub myself. Besides a pi, the only other device I could see anyone using is a Chromebook. Both are a bit under-powered, but ffmpeg isn't doing a full transcode, so a GPU isn't really needed - the CPU usage isn't even that bad.

For the documentation, I found the following while testing Channels DVR:

This issue has been open for a while to get Channels DVR working fully: https://github.com/xteve-project/xTeVe/issues/145

nkm8 commented 3 years ago

@taylorbourne Forgot to mention, the aarch64 support is likely incompatible with the PRs to auto-update lazystream - the new dockerfile uses a different release archive: https://github.com/taylorbourne/xteve_lazystream/blob/master/Dockerfile-aarch64#L45

I am not sure how best to adapt that code - we could disable it for aarch64 or try to dynamically detect the architecture in the image using arch or uname -a

taylorbourne commented 3 years ago

thanks for getting pointing that out.. I opened up a PR to hopefully fix this. Please take a look and let me know how to expand on the readme docs for channels.. are those requirements for xteve? Sorry, not really even sure what Channels DVR is – but always happy to make this bundle more useful. I'll see about having the aarch version built automatically with a special tag or something.

Oops forgot to add.. see #52

tmm1 commented 2 years ago

The stream only works in a browser - not on Android TV or Android

It should work on Android, but maybe you need to change Settings > Playback > Advanced > Video Decoder in the app for your particular android device.

If you still have issues, submit diagnostics from the Channels app and email their support.

taylorbourne commented 2 years ago

@tmm1 Thanks for chiming in! Again, I don't have the channels app so I'm kinda in the dark here – should I remove the line in question from the readme?