AKSkinz 10 Posted August 9, 2024 Posted August 9, 2024 16 hours ago, Deihmos said: Does this still work for anyone for live processing? Scripterx does not seem to do anything. It used to work.The log does not give any info. 2024-08-08 22:21:55 : Starting preprocessing script The 6 O'Clock News 2024_08_08_22_00_00.ts 2024-08-08 22:23:00 : Start comskip of The 6 O'Clock News 2024_08_08_22_00_00.ts from /mnt/Medialibrary/Recorded TV/The 6 O'Clock News 2024-08-08 22:23:00 : use default ini and no logofile 2024-08-08 22:23:00 : no logo file to move 2024-08-08 22:23:00 : Finished prepostprocessing script The 6 O'Clock News 2024_08_08_22_00_00.ts I have it working on a Windows 10 box...
Deihmos 169 Posted August 11, 2024 Posted August 11, 2024 On 2/15/2022 at 9:39 AM, BillOatman said: If the player supports the remote control commands from Emby then yes it should. If only this worked so I can use infuse instead.
TMCsw 247 Posted August 11, 2024 Posted August 11, 2024 5 hours ago, Deihmos said: If only this worked so I can use infuse instead. This is not a problem with the 'comskipper' plugin you should make a FR (if there all ready isn’t one) for the infuse client to support this (can infuse even do this?)
muzicman0 84 Posted August 15, 2024 Posted August 15, 2024 I have tested this a few times in the past, but not recently. I am assuming that there is still no feedback on the timeline so you can see where cuts are made, correct? (IE: something like chapter markers, or sections in a different color that signify where a commercial has been detected) 1
Spaceboy 2573 Posted August 15, 2024 Posted August 15, 2024 3 hours ago, muzicman0 said: I have tested this a few times in the past, but not recently. I am assuming that there is still no feedback on the timeline so you can see where cuts are made, correct? (IE: something like chapter markers, or sections in a different color that signify where a commercial has been detected) nope
abescalamis 84 Posted August 26, 2024 Posted August 26, 2024 I tried to install comskip to Ubuntu 24.04, for some reason the following no longer works as it did before, everything worked up to ./configure command. The "make" and sudo make install didn't work, it looks like something change in Ubuntu 24.04. sudo apt-get update sudo apt-get install ffmpeg libavcodec-dev libavformat-dev libavutil-dev autoconf automake git libargtable2-dev libtool git clone https://github.com/erikkaashoek/Comskip cd Comskip ./autogen.sh ./configure make sudo make install instead I used the following to install comskip: sudo apt install comskip
abescalamis 84 Posted August 29, 2024 Posted August 29, 2024 (edited) successfully got comskipper and comskip to work using the "Recording Post Processing" but need help with real time processing. 1) Steps taken for "Real Time Processing" - I'm using ubuntu, and confirmed the emby_preprocessing.sh works using the following command. $ cd /usr/local/sbin/ $ ./emby_preprocessing.sh '/mnt/Emby/Shows/Test/sample_recording.ts' 2) also confirmed live_tv=1 in /ect/comskip.ini is enabled. 3) Made the bash file executable with the following command: $ sudo chmod +x /usr/local/sbin/emby_preprocessing.sh Since I'm trying to set real time processing, I cleared post processing (post processing works perfect) embyserver.txt media.txt Edited August 29, 2024 by abescalamis
TMCsw 247 Posted August 29, 2024 Posted August 29, 2024 21 hours ago, abescalamis said: but need help with real time processing. First "%recording.path%" in SX is the is the same as "{path}" in post processing, why are you adding "%recording.name%" ? Also you may need to add a ‘sleep X’ of say about 5sec before calling Comskip. Otherwise would need to see the contents of ‘/usr/local/sbin/emby_preprocessing.sh’ to diagnose…
abescalamis 84 Posted August 30, 2024 Posted August 30, 2024 17 hours ago, TMCsw said: First "%recording.path%" in SX is the is the same as "{path}" in post processing, why are you adding "%recording.name%" ? Also you may need to add a ‘sleep X’ of say about 5sec before calling Comskip. Otherwise would need to see the contents of ‘/usr/local/sbin/emby_preprocessing.sh’ to diagnose… I followed a guide posted here, but did the changes you said, after troubleshooting the sleep time like you pointed out, came out to believe that my issue for "real time processing" is that my computer takes 26 seconds to create the .edl of a 30 minute show, I tested by giving the .sh a 20 minute sleep and it process the .ts video in a few seconds and generated the EDL. but since my PC does it to fast the EDL is incomplete. I will use post processing instead based on the above, it seems that if you machine is fast the "real-time processing wont work", no point anyways since only 26 seconds to process a 30 minute show.
val22222 0 Posted October 25, 2024 Posted October 25, 2024 Hi! I've installed the plugin, it's working well on the browser but not on apple tv. any idea why ? (the two first options are enabled in the plugin settings) : 2024-10-25 16:18:57.107 Info Com Skipper: Skipping commercial. Session: 59edfad32ee82e490f80885b48ecaf7a Start = 102182800000 End = 105480400000 2024-10-25 16:18:57.391 Error SessionManager: Error sending message *** Error Report *** Version: 4.8.10.0 Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.8.12-2-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 Framework: .NET 6.0.31 OS/Process: x64/x64 Runtime: app/emby/system/System.Private.CoreLib.dll Processor count: 8 Data path: /config Application path: /app/emby/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.Session.FirebaseSessionController.SendMessage[T](ReadOnlyMemory`1 name, String messageId, T data, CancellationToken cancellationToken) at Emby.Server.Implementations.Session.FirebaseSessionController.SendMessage[T](ReadOnlyMemory`1 name, String messageId, T data, CancellationToken cancellationToken) at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, Boolean requireUserInterface, ReadOnlyMemory`1 name, T data, CancellationToken cancellationToken) Source: Emby.Server.Implementations TargetSite: Void MoveNext() Thx
val22222 0 Posted October 25, 2024 Posted October 25, 2024 here is another test : 2024-10-25 21:07:59.351 Error SessionManager: Error in event handler *** Error Report *** Version: 4.8.10.0 Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.8.12-2-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 Framework: .NET 6.0.31 OS/Process: x64/x64 Runtime: app/emby/system/System.Private.CoreLib.dll Processor count: 8 Data path: /config Application path: /app/emby/system System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at ComSkipper.ServerEntryPoint.PlaybackProgress(Object sender, PlaybackProgressEventArgs e) at MediaBrowser.Common.Events.EventHelper.TriggerAll[T](EventHandler`1 mainHandler, Object sender, T args, ILogger logger) Source: ComSkipper TargetSite: Void PlaybackProgress(System.Object, MediaBrowser.Controller.Library.PlaybackProgressEventArgs)
TMCsw 247 Posted October 26, 2024 Posted October 26, 2024 7 hours ago, val22222 said: Hi! I've installed the plugin, it's working well on the browser but not on apple tv. any idea why ? (the two first options are enabled in the plugin settings) : 2024-10-25 16:18:57.107 Info Com Skipper: Skipping commercial. Session: 59edfad32ee82e490f80885b48ecaf7a Start = 102182800000 End = 105480400000 2024-10-25 16:18:57.391 Error SessionManager: Error sending message *** Error Report *** Version: 4.8.10.0 Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.8.12-2-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 Framework: .NET 6.0.31 OS/Process: x64/x64 Runtime: app/emby/system/System.Private.CoreLib.dll Processor count: 8 Data path: /config Application path: /app/emby/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.Session.FirebaseSessionController.SendMessage[T](ReadOnlyMemory`1 name, String messageId, T data, CancellationToken cancellationToken) at Emby.Server.Implementations.Session.FirebaseSessionController.SendMessage[T](ReadOnlyMemory`1 name, String messageId, T data, CancellationToken cancellationToken) at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, Boolean requireUserInterface, ReadOnlyMemory`1 name, T data, CancellationToken cancellationToken) Source: Emby.Server.Implementations TargetSite: Void MoveNext() Thx This along with other things doesn’t work because you are using CrApple products that don’t work well out of there ecosystem… and don't support massages from the server.
vdrover 62 Posted October 26, 2024 Posted October 26, 2024 Commercial skipping works on my Apple TV without issue.
BillOatman 596 Posted October 27, 2024 Author Posted October 27, 2024 On 10/25/2024 at 5:10 PM, val22222 said: here is another test : 2024-10-25 21:07:59.351 Error SessionManager: Error in event handler *** Error Report *** Version: 4.8.10.0 Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.8.12-2-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 Framework: .NET 6.0.31 OS/Process: x64/x64 Runtime: app/emby/system/System.Private.CoreLib.dll Processor count: 8 Data path: /config Application path: /app/emby/system System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at ComSkipper.ServerEntryPoint.PlaybackProgress(Object sender, PlaybackProgressEventArgs e) at MediaBrowser.Common.Events.EventHelper.TriggerAll[T](EventHandler`1 mainHandler, Object sender, T args, ILogger logger) Source: ComSkipper TargetSite: Void PlaybackProgress(System.Object, MediaBrowser.Controller.Library.PlaybackProgressEventArgs) The error happening is Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3 The ComSkipper plugin does not call anything in the ffmpeg family. Whatever is happening, is happening on your server. 1
BillOatman 596 Posted November 3, 2024 Author Posted November 3, 2024 New release. Added popular .editorConfig for consistent code standards. Upgraded to latest Emby library. Current release link.
tvinhas 14 Posted November 9, 2024 Posted November 9, 2024 On 11/3/2024 at 9:59 AM, BillOatman said: New release. Added popular .editorConfig for consistent code standards. Upgraded to latest Emby library. Current release link. Just tested it with the latest Emby 4.9.0.31 beta and it somehow makes Emby completely ignores .srt subtitles. Tried with several naming schemes and only closed caption worked. When I uninstalled ComSkipper, subtitles worked again. Can you reproduce this behavior @BillOatman?
BillOatman 596 Posted November 10, 2024 Author Posted November 10, 2024 On 11/9/2024 at 12:42 PM, tvinhas said: Just tested it with the latest Emby 4.9.0.31 beta and it somehow makes Emby completely ignores .srt subtitles. Tried with several naming schemes and only closed caption worked. When I uninstalled ComSkipper, subtitles worked again. Can you reproduce this behavior @BillOatman? There is no support for beta Emby. Sometimes beta work, other times they do not. That being said I am hard pressed to think of a way comskipper could affect subtitles. I can't reproduce because I do not run Emby betas.
Jator 10 Posted January 2, 2025 Posted January 2, 2025 Trying to trouble shoot why the plugin isn't showing on my server. Here's where I have installed the .dll: I've rebooted the server, including shutting it down completely (I used SynologyNAS platform), but still don't see it showing up in my Plugin Library. Any suggestions?
TMCsw 247 Posted January 3, 2025 Posted January 3, 2025 @BillOatmanchanged/updated something and the the latest version doesn't work for me on Linux either can you find and replace the ComSkipper.dll with version 2.1.0.0 ? it works great!
Jator 10 Posted January 3, 2025 Posted January 3, 2025 So making a little progress. Found in the log that one of the locations I had placed the .dll had root privilidges and couldn't be read: 2025-01-03 07:26:04.601 Info App: File /var/packages/EmbyServer/var/plugins/ComSkipper.dll has version 2.1.1.0 2025-01-03 07:26:04.614 Error App: Error getting version number from /volume1/@appstore/EmbyServer/system/plugins/ComSkipper.dll 2025-01-03 07:26:04.601 Info App: File /var/packages/EmbyServer/var/plugins/ComSkipper.dll has version 2.1.1.0 2025-01-03 07:26:04.614 Error App: Error getting version number from /volume1/@appstore/EmbyServer/system/plugins/ComSkipper.dll so I corrected that 2025-01-03 07:41:02.903 Info App: File /var/packages/EmbyServer/var/plugins/ComSkipper.dll has version 2.1.1.0 2025-01-03 07:41:02.945 Info App: File /volume1/@appstore/EmbyServer/system/plugins/ComSkipper.dll has version 2.1.1.0 Rebooted the server but the plugin is still not showing up in the plugin to be configurable. I do show the below error further down in the logs, but it doesn't reference Comskipper so not sure it applies. *** Error Report *** Version: 4.8.8.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #72806 SMP Thu Sep 5 13:44:44 CST 2024 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system System.Reflection.ReflectionTypeLoadException: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load file or assembly 'MediaBrowser.Common, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Could not load file or assembly 'MediaBrowser.Controller, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Could not load file or assembly 'MediaBrowser.Model, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.Assembly.GetTypes() at Emby.Server.Implementations.ApplicationHost.GetTypes(Tuple`2 assemblyInfo) System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Common, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'MediaBrowser.Common, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null' System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'MediaBrowser.Controller, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null' System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'MediaBrowser.Model, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null' Source: System.Private.CoreLib TargetSite: System.RuntimeType[] GetTypes(System.Reflection.RuntimeModule) 2025-01-03 07:41:03.027 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Common, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2025-01-03 07:41:03.027 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 2025-01-03 07:41:03.027 Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. And lastly, should there be 2 different entrys for Emby (/var/Packages/EmbyServer and /volume1/@appstore/EmbyServer)? I'm wondering if when I tried to install Emby via Synology Package Center, it kept erroring out, so I tried manually install method. Eventually I discovered that with Jellyfin on the same port it would stop the auto install, so perhaps I should uninstall all and restart?
Deihmos 169 Posted March 4, 2025 Posted March 4, 2025 On 8/28/2024 at 9:11 PM, abescalamis said: successfully got comskipper and comskip to work using the "Recording Post Processing" but need help with real time processing. 1) Steps taken for "Real Time Processing" - I'm using ubuntu, and confirmed the emby_preprocessing.sh works using the following command. $ cd /usr/local/sbin/ $ ./emby_preprocessing.sh '/mnt/Emby/Shows/Test/sample_recording.ts' 2) also confirmed live_tv=1 in /ect/comskip.ini is enabled. 3) Made the bash file executable with the following command: $ sudo chmod +x /usr/local/sbin/emby_preprocessing.sh Since I'm trying to set real time processing, I cleared post processing (post processing works perfect) embyserver.txt 2.37 MB · 3 downloads media.txt 6.07 kB · 2 downloads I have the same exact issue. The scripter doesn't seem to work with Linux. I see many complaints.
Deihmos 169 Posted April 19, 2025 Posted April 19, 2025 I am now able to get scripterx working. The solution is to not use the script including in the guide a few pages back. A simple script like this works fine. Is it possible to add an option to always skip commercials? It currently does not skip the same commercial twice. #!/bin/bash sleep 120 /usr/local/bin/comskip --ini=/home/user/comskip.ini "$1" > /dev/null
Ranse 6 Posted July 24, 2025 Posted July 24, 2025 (edited) Hello Everyone, I went through all the steps and successfully installed the comskipper on Debian 12 , and tested it with couple of files and it works fine. My issue is that , it does not work for the recordings after the recording is completed, basically I am looking for the first option in the guide , not the live TV commercial skipping. I have played with the {path} option, I think it is wrong in my setup. Any help would be appreciated ! Thanks in advance. I have the plugin installed an Edited July 24, 2025 by Ranse
Ranse 6 Posted July 24, 2025 Posted July 24, 2025 6 minutes ago, Ranse said: Hello Everyone, I went through all the steps and successfully installed the comskipper on Debian 12 , and tested it with couple of files and it works fine. My issue is that , it does not work for the recordings after the recording is completed, basically I am looking for the first option in the guide , not the live TV commercial skipping. I have played with the {path} option, I think it is wrong in my setup. Any help would be appreciated ! Thanks in advance. I have the plugin installed an Forgot to add, I have downloaded the ini file from the first posts, and I have the plugin too.
BillOatman 596 Posted July 24, 2025 Author Posted July 24, 2025 (edited) 14 hours ago, Ranse said: Forgot to add, I have downloaded the ini file from the first posts, and I have the plugin too. This is mine, but it's on Windows. Flavors of Linux are likely different. Your command line argument at the end looks wrong to me. Edited July 24, 2025 by BillOatman
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now