Kodi Community Forum

Full Version: xml file for skipping 'Adult' or 'Violent' scene from a video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any script that can read an xml file containing starting and ending portion and skip those scenes from the video automatically while playing without a user interaction? I want enable this when my children use Kodi/XBMC to watch saved movies or videos.

Let say I want skip a love making scene from 00:30:03 to 00:35:03 the famous Titanic movie. And also wanted to skip some other multiple portions of the same movie. It would have been much better if it works by marking the starting and ending portions of the movie and put it in an xml file in the movie directory.

Example:

Let say skipping following scenes from the movie Titanic

From 00:30:03 To 00:35:03
From 00:45:00 To 00:55:00
From 01:04:30 To 01:15:17

SkipVideo.xml
Code:
<Skip>
  00:30:03-00:35:03
  00:45:00-00:55:00
  01:04:30-01:15:17
</skip>

Location for the file
Code:
F:\Movies\Titanic(1997)\Titanic.(1997).Blu-ray.1080p.x264.DTS.Me.mkv
                     ..\SkipVideo.xml

Thanks and Regards
Subairsbr
A file named .edl in same directory as video file can do this:
http://kodi.wiki/view/Edit_decision_list
Thank you 'popcornmix'. I have done a quick test. Fantastic! It worked. This is what exactly I was looking for.

Here is what I did for my example movie

Titanic.(1997).Blu-ray.1080p.x264.DTS.Me.edl
Code:
    00:30:03  00:35:03  0
    00:45:00  00:55:00  0
    01:04:30  01:15:17  0


File Location
Code:
F:\Movies\Titanic(1997)\Titanic.(1997).Blu-ray.1080p.x264.DTS.Me.mkv
                     ..\Titanic.(1997).Blu-ray.1080p.x264.DTS.Me.edl

Only issues is "forward or reverse" function doesn't seem to be correct after putting the file. I am using latest version of Kodi 14.1. Thanks again. At least I have something now.

Subairsbr
Any idea of where to find a library of edl files to skip R rated scenes in movies?
Just tried this for skipping Adult content from TV Series so it could be seen by children.
However, it does not seem to work.
Has anyone tried using .edl files for TV Shows 
Does this work in Leia 
This is what's in my edl file:
"00:05:07 00:06:48 0"
Could anyone Help ?
(2020-09-21, 14:59)shaktoo Wrote: [ -> ]Has anyone tried using .edl files for TV Shows 
I have for episodes and it works fine on v18.8

Image Image