Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDHR "Fake" Tuner for plex #58

Closed
Serph91P opened this issue Mar 10, 2025 · 23 comments
Closed

HDHR "Fake" Tuner for plex #58

Serph91P opened this issue Mar 10, 2025 · 23 comments
Assignees
Labels
enhancement New feature or request

Comments

@Serph91P
Copy link

Is your feature request related to a problem? Please describe.
Cannot add a m3u to plex it needs a tuner so a fake HDHR Tuner would be great.

Describe the solution you'd like
Would love if this would not only provide the edited m3u but add the possiblity to add a HDHR Tuner so plex can add m3u-editor m3u aswell

Describe alternatives you've considered
Got Threadfin running aswell because it provides the HDHR Tuner but the app itself is not the greates and the developer is ...

Additional context
not needed

@Serph91P Serph91P added the enhancement New feature or request label Mar 10, 2025
@Egrirt
Copy link

Egrirt commented Mar 10, 2025

That’s totally out of the scope of this app imo.

@Serph91P
Copy link
Author

That’s totally out of the scope of this app imo.

thats to bad but thanks for the fast response.

@sparkison
Copy link
Owner

@Serph91P, do you know what others are doing to mock the tuner? I could be open to this if it's not a crazy lift

@Drondemovies
Copy link

I would love to see that as well.

@Drondemovies
Copy link

dispatcharr has it.

@sparkison
Copy link
Owner

dispatcharr has it.

thanks for that @Drondemovies! I'll take a look and see how they're doing it...

@sparkison sparkison reopened this Mar 19, 2025
@sparkison sparkison self-assigned this Mar 19, 2025
@Drondemovies
Copy link

dispatcharr has it.

thanks for that @Drondemovies! I'll take a look and see how they're doing it...

Can you increase the number of tuners to 10 ? It's currently at 2 now

@sparkison
Copy link
Owner

Can you increase the number of tuners to 10 ? It's currently at 2 now

I'll see what I can do! Looks like it should be configurable If I'm able to make it work...

@Serph91P
Copy link
Author

Can you increase the number of tuners to 10 ? It's currently at 2 now

I'll see what I can do! Looks like it should be configurable If I'm able to make it work...

That would be absolutely massive thanks.

@sparkison
Copy link
Owner

@Serph91P and @Drondemovies, functionality has been added! 🎉

currently on the dev branch (sparkison/m3u-editor:dev)

I'm not using an SSDP service to keep it light, so you'll need to manually enter the address when adding to Plex

Image

each playlist will have a unique HDHomeRun url (copy the link and paste into Plex, you can also view the link to see a setup overview page)

Image

and you can also define the number of tuners per-playlist (note that I'm also testing proxy functionality, which you can test too if you like 😉)

Image

@Serph91P
Copy link
Author

@Serph91P and @Drondemovies, functionality has been added! 🎉

currently on the dev branch (sparkison/m3u-editor:dev)

I'm not using an SSDP service to keep it light, so you'll need to manually enter the address when adding to Plex

Image

each playlist will have a unique HDHomeRun url (copy the link and paste into Plex, you can also view the link to see a setup overview page)

Image

and you can also define the number of tuners per-playlist (note that I'm also testing proxy functionality, which you can test too if you like 😉)

Image

Thanks alot very much appreciated. What does the proxy achieve can you please elaborate. The tag for docker is develop or just dev?

@sparkison
Copy link
Owner

just dev: m3u-editor:dev

and proxy will load and play the video through m3u editor via ffmpeg and send the stream to the client (m3u editor will act as a proxy). If you don't know what it is, you likely don't need it 😉

@Serph91P
Copy link
Author

just dev: m3u-editor:dev

and proxy will load and play the video through m3u editor via ffmpeg and send the stream to the client (m3u editor will act as a proxy). If you don't know what it is, you likely don't need it 😉

This was more meant like what options are behind it with ffmpeg like does it just copy or does it change stuff you know ;)

@Serph91P
Copy link
Author

Serph91P commented Mar 20, 2025

Just report back it seems that Plex does not get the correct channel number information.

Image

And would it not be better to add the link information in the 3 dots menu as well for easy access?

Image

@sparkison
Copy link
Owner

since the channel number isn't always set we're using the stream id to link the two together. It does work in my case, but might need to be an option per-playlist...

@Serph91P
Copy link
Author

Serph91P commented Mar 20, 2025

since the channel number isn't always set we're using the stream id to link the two together. It does work in my case, but might need to be an option per-playlist...

Sorry don't quite understand. I meant the channel number if they are set like channel 1 is this specific channel, should this bot be respected in Plex. I know that threadfin is doing this for example. And that is what the sort order is for or am I wrong here? I mean the m3u respects that so why would the hdhomerun not? Sorry to ask this maybe stupid question :)

@sparkison
Copy link
Owner

It's just that the channel number isn't always set, or required, but the stream id is. The stream id is how we're linking the channel to the EPG. If HDHR would allow us to use both, that would be great, but I think all I can add is the GuideChannel and not just the ChannelID

I'll see what I can find regardless...

@Egrirt
Copy link

Egrirt commented Mar 21, 2025

plex uses xmltv ID to sort channels, you'll need to add that to the epg so that plex can use the correct sort order.

@sparkison
Copy link
Owner

Give the latest dev a shot!

Update the mapping output to allow setting by channel id rather than stream id.
Stream ID is still the default, but it can be easily changed per-playlist as needed 😉

Image

@Serph91P
Copy link
Author

Give the latest dev a shot!

Update the mapping output to allow setting by channel id rather than stream id. Stream ID is still the default, but it can be easily changed per-playlist as needed 😉

Image

Does not seem to work or am I missing something?

Image

@sparkison
Copy link
Owner

@Serph91P, the channel numbers are importing as set in m3u editor (look at the number on the right for the EPG in your screenshot)

when you complete the import, the channel numbers in the guide in Plex will show the channel number shown in the EPG SENDER, show on the right side of your screenshot

try to complete the setup and confirm, that's how it worked for me. The playlist still uses the tvg-id as the tvg-id tag, the tvg-chno is set to the channel. When changing the mapping in the playlist settings it changes the EPG to use the channel number instead of the tvg-id, but the playlist remains the same

@Serph91P
Copy link
Author

@Serph91P, the channel numbers are importing as set in m3u editor (look at the number on the right for the EPG in your screenshot)

when you complete the import, the channel numbers in the guide in Plex will show the channel number shown in the EPG SENDER, show on the right side of your screenshot

try to complete the setup and confirm, that's how it worked for me. The playlist still uses the tvg-id as the tvg-id tag, the tvg-chno is set to the channel. When changing the mapping in the playlist settings it changes the EPG to use the channel number instead of the tvg-id, but the playlist remains the same

Yep you are right it worked. Was just confused because it did show it like before and an used to it being shown correctly.

Thank you

@sparkison
Copy link
Owner

closing this one down! I'll roll it out in the next release. Thank you all for your help and testing! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants