-
Notifications
You must be signed in to change notification settings - Fork 62
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
EDL Support #242
Comments
Something like this is what you want for calling out and getting the cutpoints, though it probably needs splitting up a bit, as we would need the addMessageListener just once, but the ability to fetch the cutpoints multiple times:
As for where it belongs, humm. I suspect Looking at the hacky fast forward / rewind code I pushed a few minutes, as well as things like the radio info screens, I'd like to at some point refactor those behavious out of the main player class - but - thats future plans ;) |
Awesome, thanks for that. I'll implement EDL support tonight. |
I've come across bit of a stumbling block - the Target in #createMessage doesn't seem to get called for me. I suspect this is due to the same issue that means the current time is stuck on 0:00 (the duration seems to be fine). I don't know enough about ExoPlayer to try fixing this though. |
If you're still stuck, post the code to a PR and I'll see if I can spot anything on Tuesday (holidays until then!) |
I've been looking into adding EDL support (in order to skip commercials, when used in conjunction with another program, e.g. comskip). As I am not entirely familiar with how HTSP works, specifically with regards to the library this project uses, so I need some help implementing the needed code.
EDL support is documented in the HTSP documentation page (https://tvheadend.org/projects/tvheadend/wiki/Htsp), under
getDvrCutpoints
At this stage I have this code, which doesn't appear to work (I just wanted to see if I could get the data, its in TVHeadendPlayer at the moment (likely the wrong place to put it)):
What is the correct way to implement this?
The text was updated successfully, but these errors were encountered: