EPlusTV icon indicating copy to clipboard operation
EPlusTV copied to clipboard

[Request] Fox One support

Open Timbo303 opened this issue 6 months ago • 10 comments

Currently a subscription to fox one without a tv provider wont work because fox sports is a different website than fox one. I have a hunch fox sports website will remove the backend and use fox one instead down the road. Luckily fox one doesn't appear to have drm (they use a standard m3u8) so it should be easy to add once you get enough time.

Timbo303 avatar Sep 26 '25 17:09 Timbo303

I have been working on getting Fox One working in my own fork. Planning on contributing back to this repo when it is more stable. Which channels in particular were you interested in?

codynhat avatar Sep 27 '25 19:09 codynhat

I have been working on getting Fox One working in my own fork. Planning on contributing back to this repo when it is more stable. Which channels in particular were you interested in?

ESPN+, BIG10, Fox Sports, Fox local 4K feed

troyhough avatar Sep 27 '25 20:09 troyhough

I have been working on getting Fox One working in my own fork. Planning on contributing back to this repo when it is more stable.

If it is helpful to you, there is some partial work in this fork — I have not tested it yet, I am told that auth allegedly works but not scheduling/streaming: https://github.com/ctgiant/EPlusTV/tree/foxone-testing

tonywagner avatar Sep 28 '25 23:09 tonywagner

Working FoxOne implementation is here: https://github.com/ctgiant/EPlusTV/tree/foxone-testing

I would not say it is ready to be pulled into the main branch though. Some things could be improved or fixed. Some of the issues are: ~~1. End user needs environmental variables for the local station Call Signs and Gracenote IDs (FOX and MyNetwork TV), otherwise it will default to New York's stations for guide date.~~ Fixed 2. ~~Streams all work, but in the console for some streams while playing I get a repeated, non-stop playlist error: Invalid Playlist : DATERANGE tags with the same CLASS should not overlap.~~ Fixed 3. Only works with TV Provider Sign-In. No direct subscriptions or subscriptions through ESPN work. 4. ~~MyNetworkTV does not work. I could not reliably find a way to pull in the channel's data from the API.~~ Fixed 5. I am not sure if the 4K code works for it. I left it in and made a few changes, but did not test it.

If anyone wants to do some testing of the code and see if they can fix any of the issues please feel free

ctgiant avatar Oct 14 '25 21:10 ctgiant

You might want to fully implement the location detection API like FOX has it before you merge this. The NFL, MLB and Google (who has the exclusive NFL Sunday Ticket rights) will likely come down hard on the project if it defaults to NYC and anyone can change what FOX affiliate and which regionalized NFL and MLB games they get with a parameter.

The Gracenote stationIds are exposed in FOX One's guide API under gracenote/station_id when you fetch the EPG with the correct DMA and location headers.

If you want to test and work on your 4k implementation, check FS1 tonight at 8pm ET, they will have ALCS Game 4 in UHD/HDR.

dtngfan85 avatar Oct 16 '25 20:10 dtngfan85

Thanks for the feedback. It is appreciated.

You might want to fully implement the location detection API like FOX has it before you merge this. The NFL, MLB and Google (who has the exclusive NFL Sunday Ticket rights) will likely come down hard on the project if it defaults to NYC and anyone can change what FOX affiliate and which regionalized NFL and MLB games they get with a parameter.

The default variables are only for the guide data, not for the actual station it will pull. Location detection is coming from the API and pulling the correct affiliates based on that.

The Gracenote stationIds are exposed in FOX One's guide API under gracenote/station_id when you fetch the EPG with the correct DMA and location headers.

I am working on getting the guide data and local affiliate call signs dynamically for the local_channels array of the foxone-handler.ts and the channles.ts but had yet to figure out where in the flow I have to move certain things to achieve this. Until I figure it out or someone else looks at the code the best I could do was to allow environmental variables for that info.

If you want to test and work on your 4k implementation, check FS1 tonight at 8pm ET, they will have ALCS Game 4 in UHD/HDR.

I will hopefully be able to tonight, but if not I am planning to take a look on Sunday for the noon football game. I was more focused on getting the proof of concept working first and now my priority is to try to understand the hls-parser and the incoming structure of the playlists so that I can get rid of the errors while playback is occurring.

ctgiant avatar Oct 16 '25 21:10 ctgiant

The Sunday NFL games are not in 4K, only MLB playoffs and select college football games: Thursday 10/16 ALCS Game 4 at 8pm ET on FS1 Friday 10/17 ALCS Game 5 at 6pm ET on FS1 Saturday 10/18 Big Noon Kickoff at 10am ET, Washington at Michigan at 12pm ET, Utah at BYU at 8pm ET on FOX Sunday 10/19 ALCS Game 6 at 8pm ET on FS1 (if needed) Monday 10/20 ALCS Game 7 at 8pm ET on FOX (if needed)

Like with the FOX Sports API, the 4K streams are event only, if you tune in before the scheduled start time, you'll get the regular HD stream URL for FS1 or your local FOX affiliate. On the FOX One Android TV app the UHD/HDR streams are only available on select devices, non-compatible devices get the HD stream, so there might be using an internal whitelist that only returns the UHD/HDR stream if the user-agent/device/model parameters and headers all match.

dtngfan85 avatar Oct 16 '25 22:10 dtngfan85

Thanks for the schedule. I meant to say Saturday for the College games. I am using an updated version of the same user agent that the fox sports integration was using so hopefully it will work to pull 4k. I just have to test the code to see if there are changes that need to be made based on the different API.

ctgiant avatar Oct 16 '25 22:10 ctgiant

I have managed to get everything working except 4k. I can pull the 4k m3u, but it is not working as expected and I need more time to figure it out. It works in 4k on VLC on the computer with no sound, but will only play 720p through channels. Hopefully I can find time this coming weekend to test more.

I am not going to be working on how to get the direct subscriptions or sub through ESPN working, so If someone wants to do that feel free.

I put in a PR as I believe it is stable enough to be merged as is without the 4k working.

ctgiant avatar Oct 21 '25 05:10 ctgiant

I have had community members test it and all is working as expected. 4k should be working now as well. It should be ready to be fully merged. See Pull Request 226

ctgiant avatar Oct 26 '25 01:10 ctgiant