Skip Intro
#31
The Jellyfin intro-skipper plugin had a recent update which allows auto intro and credit skipping in Kodi (using the Jellyfin Kodi add-on). It would be great if a button could be available in Kodi to skip intros and credits rather than it be automatic.

https://github.com/intro-skipper/intro-skipper
Reply
#32
I built something that allows you to use the Media Segments API of Jellyfin and Jellyfin for Kodi Addon to skip intros/outros:

https://github.com/SgtJalau/service.jellyskip
Reply
#33
Thanks , will give this a spin.
Reply
#34
(2025-01-04, 17:40)Jalau Wrote: I built something that allows you to use the Media Segments API of Jellyfin and Jellyfin for Kodi Addon to skip intros/outros:

https://github.com/SgtJalau/service.jellyskip
This is working great for me, thanks!
Reply
#35
Here in Canada we grab open broadcasting (etc) from Buffalo U.S. and re-insert Canadian commercials for local cable distribution all on the fly in real time (rarely we get commercial overlap) so there must be some magic cookie sent to trigger this event?
Reply
#36
(2025-01-27, 18:16)PatK Wrote: Here in Canada we grab open broadcasting (etc) from Buffalo U.S. and re-insert Canadian commercials for local cable distribution all on the fly in real time (rarely we get commercial overlap) so there must be some magic cookie sent to trigger this event?
Hrm, normally in Simultaneous Substitution as the CRTC calls it, the entire time block is replaced, not just the commercials.  Like, if CTV and ABC are showing the same 30min sitcom at 8:30pm, from 8:30pm till 9pm the CTV signal will be on the ABC channel as well as the CTV channel.  No commercial detection involved.
Reply
#37
(2025-01-04, 17:40)Jalau Wrote: I built something that allows you to use the Media Segments API of Jellyfin and Jellyfin for Kodi Addon to skip intros/outros:

https://github.com/SgtJalau/service.jellyskip

Hi mate is there anything special I need to get this working ?

I added the service.jellyskip folder to the addons folder and rebooted, I then checked addons and it was listed there but it was disabled.

I enabled it and rebooted again but its still not working.

I thought maybe it needed the EDL files so i just got those working but your "button" doesn't show up, it just autoskips.

Im guessing your plugin doesn't need the EDL's so ive got rid of them now.

I tried putting the addon back to disabled as you didn't mention enabling it, but still no luck.


Im using kodi 21.2 and I have tried it with native paths and addon mode.

Any help would be appreciated.

Thanks in advance
Reply
#38
Where does it look for the media segment information ?

I've been trying all sorts today and still can't get it working.

Only thing I can think is that KODI needs the EDL files but when I tried that it just autoskipped, there was no skip button.
Reply
#39
(2025-01-27, 16:26)jkerrigan Wrote:
(2025-01-04, 17:40)Jalau Wrote: I built something that allows you to use the Media Segments API of Jellyfin and Jellyfin for Kodi Addon to skip intros/outros:

https://github.com/SgtJalau/service.jellyskip
This is working great for me, thanks!

Did you use EDL files ?
Reply
#40
Do you have Jellyfin running as well?

Quote:Once installed, Jellyskip will automatically detect media segments from Jellyfin and present a button to skip these segments during playback.
Reply
#41
(2025-02-01, 20:42)Hitcher Wrote: Do you have Jellyfin running as well?
Quote:Once installed, Jellyskip will automatically detect media segments from Jellyfin and present a button to skip these segments during playback.

Yes Jellyfin server 10.10.5 ( with introskipper 1.10.10.14 ) is running on TrueNAS Scale ( 24.10.2 )

and

Jellfin for Kodi 1.0.7 ( native paths ) is running on CoreELEC-Amlogic-ng.arm-21.2-Omega

I have also tried add on mode

Thanks
Reply
#42
(2025-02-01, 06:09)treboR2Robert Wrote:
(2025-01-04, 17:40)Jalau Wrote: I built something that allows you to use the Media Segments API of Jellyfin and Jellyfin for Kodi Addon to skip intros/outros:

https://github.com/SgtJalau/service.jellyskip

Hi mate is there anything special I need to get this working ?

I added the service.jellyskip folder to the addons folder and rebooted, I then checked addons and it was listed there but it was disabled.

I enabled it and rebooted again but its still not working.

I thought maybe it needed the EDL files so i just got those working but your "button" doesn't show up, it just autoskips.

Im guessing your plugin doesn't need the EDL's so ive got rid of them now.

I tried putting the addon back to disabled as you didn't mention enabling it, but still no luck.


Im using kodi 21.2 and I have tried it with native paths and addon mode.

Any help would be appreciated.

Thanks in advance


Hey,
you need to enable the addon. I forgot to mention that in the readme. Will add that.
Jellyfin for Kodi needs to be running alongside Jellyfin. No need for EDL files. Just the media segments api needs to be supported which your version should.
Possibly will add support for EDL files in the future.
Can you show me something from the kodi log, specifically when you start playing a file with an available media segment? You can find the location here:
https://kodi.wiki/view/Log_file

Possibly with Debug enabled in Kodi settings.
Reply
#43
(2025-02-04, 15:20)Jalau Wrote: Hey,
you need to enable the addon. I forgot to mention that in the readme. Will add that.
Jellyfin for Kodi needs to be running alongside Jellyfin. No need for EDL files. Just the media segments api needs to be supported which your version should.
Possibly will add support for EDL files in the future.
Can you show me something from the kodi log, specifically when you start playing a file with an available media segment? You can find the location here:
https://kodi.wiki/view/Log_file

Possibly with Debug enabled in Kodi settings.

Hi @Jalau.

I found this in the log ;

JELLYSKIP.jellyfin.jellyfin_grabber -> INFO::resources/lib/jellyfin/jellyfin_grabber.py:72 MediaSegments: {"Items": ["SegmentType.INTRO - 0 - 363780000"], "TotalRecordCount": 1, "StartIndex": 0}
2025-02-04 17:44:27.690 T:4022     info <general>: JELLYSKIP.monitor -> INFO::resources/lib/monitor.py:107 Start tracking: time=2.062, duration=1765.88
2025-02-04 17:44:27.690 T:4022     info <general>: JELLYSKIP.monitor -> INFO::resources/lib/monitor.py:117 Next item: SegmentType.INTRO - 0 - 363780000
2025-02-04 17:44:27.690 T:4022     info <general>: JELLYSKIP.dialogue_handler -> INFO::resources/lib/dialogue_handler.py:140 Opening dialogue for Intro at 0
2025-02-04 17:44:27.692 T:4022    error <general>: GetDirectory - Error getting /storage/.kodi/addons/service.jellyskip-main/resources/skins/Default
2025-02-04 17:44:27.692 T:4022    error <general>: EXCEPTION: XML File for Window is missing
2025-02-04 17:44:27.703 T:4313    debug <general>: CVideoPlayerVideo::OutputPicture - ttd:338ms pts:2.480 Clock:2.141 Level:6
2025-02-04 17:44:27.707 T:4022    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'RuntimeError'>
                                                   Error Contents: XML File for Window is missing
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/service.jellyskip-main/resources/lib/monitor.py", line 88, in onNotification
                                                       self.start_tracking()
                                                     File "/storage/.kodi/addons/service.jellyskip-main/resources/lib/monitor.py", line 119, in start_tracking
                                                       dialogue_handler.schedule_skip_gui(next_item, time_seconds)
                                                     File "/storage/.kodi/addons/service.jellyskip-main/resources/lib/dialogue_handler.py", line 53, in schedule_skip_gui
                                                       self.open_gui(item)
                                                     File "/storage/.kodi/addons/service.jellyskip-main/resources/lib/dialogue_handler.py", line 142, in open_gui
                                                       dialog = SkipSegmentDialogue('script-dialog.xml', addonPath, seek_time_seconds=item.get_end_seconds(),
                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                   RuntimeError: XML File for Window is missing
                                                   -->End of Python script error report<--
Reply
#44
So I noticed that in the log it was looking for ;

/storage/.kodi/addons/service.jellyskip-main/resources/skins/Default

( capital D for the default folder )

I looked and the folder actually has a small d

I changed it to a capital D and rebooted.

It's now working fine Cool

Don't know why it worked for everyone else Confused

Maybe CoreELEC is more picky about upper and lower case Eek

Anyway thank you very much creating the addon its COOL !
Reply
#45
I've noticed a little bug with it, nothing major but I thought you may like to know.

If I play an episode the "Skip Intro" button shows up.

If I stop plackback and play the SAME episode again the "Skip Intro" button DOES NOT show up no matter how many times i stop and restart playback.

If I play a different episode the "Skip Intro" button shows up again.

Then if I stop that and go back to the original episode the "Skip Intro" Button is working again.

Tried it on a few diffent episodes and same result.

It's like it needs to reset itself by loading a new segment info from a different episode.

Going to try it with addon mode now, I will report back.

Thanks again
Reply

Logout Mark Read Team Forum Stats Members Help
Skip Intro0