To have comskip working:
Single-seat setup:
FIRST OFF: Follow the instructions in the wiki.
Version 1.0.2 and up: Done. If you followed the wiki correctly everything should be working.
Pre-Version 1.0.2: After following the wiki, Media portal will now skip commercials within MyVideos automatically, but having them skipped within MyTV requires you to press "Chapter Next" or "Chapter Previous" on your remote/keyboard. "Chapter Next" and "Chapter Previous" are not mapped by default. You must first map these functions to a key on the keyboard/remote Note: version 1.0.2 has these functions mapped by default (thanks winterescape)
Mapping "Chapter Next" and "Chapter Previous":
1. Open up MediaPortal configuration
2. Expand "General" and select "Keys and Sounds".
3. Expand "Windows" in the Assignments box.
4. Expand "Fullscreen Video specific actions"
5. Click add and add 2 new assignment:
Description: Next Chapter
Action: ACTION_NEXT_CHAPTER
Key: F8
Description: Prev Chapter
Action: ACTION_PREV_CHAPTER
Key: F7
Done!
Server/Client:
FIRST OFF: Follow the instructions in the wiki.
Unfortunately comskip does not work on a server/client setup out of the box. You can get it working great, you just need to first learn why it doesn't work and then configure around the problem.
Why doesn't it work?
The problem is comskip data isn't read when using RTSP. By default, Mediaportal uses RTSP.
What is RTSP?
In a server/client setup the two machines must talk to each other over your network. The protocol used is 'RTSP' (Real Time Streaming Protocol). Comskip won't work with RTSP so you must change your setup to not use it. I know of only two ways to do this, see below.
Solution:
I know of only two ways to stop using RTSP.
1. Follow the instructions in this thread: Plugin - avoiding RTSP in multiseat mode <-- pretty minimal change
2. Install a plugin/add-on called 4therecord
Either option means a setup where UNC is used instead of RTSP.
Which option?
Well, the first is only a small change (remember to backup everything first).
I have two notes to help you with the first option if you just can't seem to get it working right: (Note: Go read the thread first, you may not have any problems)
The second option will work too, but it means installing 4therecord which is a much larger solution than just simply fixing comskip. 4therecord changes the way you can schedule recordings. Personally, I think 4therecord is a fantastic plugin and you may just fall in love with it. To help you decide, the main features of 4therecord are the following:
* Web Access to your TV-Guide over the internet. That means you can schedule stuff from work/school etc.
* Internet access to your TV-Guide via instant messaging. So you 'chat' to your TV-Guide from MSN and tell it to record stuff
* 4TR can send you an email if your system requires your attention
* Uses a rule-based scheduling system. This is pretty cool. This means you can say: Record any "CSI" show, from any channel, but not if its "Miami", and not if I've recorded it before, and not if its "Tuesday" or you can say: record any show that has "heath ledger" in it, but only on channel "BBC" or "Fox" or "SBSTWO". You get the idea. Follow the link above to learn, download and then install it.
I hope this helps someone. My comskip is now working after hours of farting around. I've made a crude adjustment to the wiki (which basically points here) to hopefully help future people who can't get it working and keep loosing their weekends
-George Edwards
++++Original Post++++
Greeting all.
I can't get comskip working and need some help..
Here's what I've done:
Thanks to anyone for your help. I had some troubles with my MediaPortal, single-seat solution for a long long time. I've since moved to a server/client setup, only installing on server/client after all errors within event manager were fixed and everything is rock-solid stable. This is the only problem I have left, getting comskip to work. Thanks again. Looking forward to your replies
Single-seat setup:
FIRST OFF: Follow the instructions in the wiki.
Version 1.0.2 and up: Done. If you followed the wiki correctly everything should be working.
Pre-Version 1.0.2: After following the wiki, Media portal will now skip commercials within MyVideos automatically, but having them skipped within MyTV requires you to press "Chapter Next" or "Chapter Previous" on your remote/keyboard. "Chapter Next" and "Chapter Previous" are not mapped by default. You must first map these functions to a key on the keyboard/remote Note: version 1.0.2 has these functions mapped by default (thanks winterescape)
Mapping "Chapter Next" and "Chapter Previous":
1. Open up MediaPortal configuration
2. Expand "General" and select "Keys and Sounds".
3. Expand "Windows" in the Assignments box.
4. Expand "Fullscreen Video specific actions"
5. Click add and add 2 new assignment:
Description: Next Chapter
Action: ACTION_NEXT_CHAPTER
Key: F8
Description: Prev Chapter
Action: ACTION_PREV_CHAPTER
Key: F7
Done!
Server/Client:
FIRST OFF: Follow the instructions in the wiki.
Unfortunately comskip does not work on a server/client setup out of the box. You can get it working great, you just need to first learn why it doesn't work and then configure around the problem.
Why doesn't it work?
The problem is comskip data isn't read when using RTSP. By default, Mediaportal uses RTSP.
What is RTSP?
In a server/client setup the two machines must talk to each other over your network. The protocol used is 'RTSP' (Real Time Streaming Protocol). Comskip won't work with RTSP so you must change your setup to not use it. I know of only two ways to do this, see below.
Solution:
I know of only two ways to stop using RTSP.
1. Follow the instructions in this thread: Plugin - avoiding RTSP in multiseat mode <-- pretty minimal change
2. Install a plugin/add-on called 4therecord
Either option means a setup where UNC is used instead of RTSP.
Which option?
Well, the first is only a small change (remember to backup everything first).
I have two notes to help you with the first option if you just can't seem to get it working right: (Note: Go read the thread first, you may not have any problems)
1: If you can't seem to get it working because media portal 'can't playback the file', then it's probably because MediaPortal can't see the file you wanna play. With RTSP all you had to do in Media Portal client is say the servername of the TV-server. That's all. You didn't have to map drives or point to a location like \\server\share\television_data, or anything like that. You are no longer using RTSP so pointing to the right location is important and is probably where this is falling over.
Do the following: Try to open up a pre-recorded TV show. OK the error message, close MediaPortal. Go to your log file on your client machine (Vista: C:\ProgramData\Team MediaPortal\MediaPortal\log\MediaPortal.log || XP: C:\documents and settings\all users\Team MediaPortal\MediaPortal\log\MediaPortal.log) and look for an entry relevant to what you just tried to play (If you need something to search for, try this '[Info.][MPMain]: TvRecorded Play:'). You should be able to find an entry very similar to this:
"2010-01-30 15:43:57.985000 [Info.][MPMain]: TvRecorded Play:\\fileserver\E\HTPC Data\TV Shows\Recordings\The Hills\The Hills - GO! Canberra - 2010-01-19 - 1_00 PM.ts - using rtsp mode:False"
Now on your client machine, highlight the bit that's bold and copy. Then go Start > Run > Explorer > Enter. Explorer should open up. On the address bar up the top, paste in what you copied. If explorer can't see the following path then work on that. Your client machine must be able to see the path in bold.
Once you have the pre-recorded TV bit working apply the same logic to the live-TV. Check the logs, find out where your client machine can't see, fix it. Remember to read the original thread, many people's posts/answers will help you by just reading them.
2: Once everything is working, you may experience live-tv stuttering after watching TV for a bit. If you experience this issue, replace file 'TsReader.ax' with the one attached to this post then reboot the client computer. The file lives in your "C:\Program Files\Team MediaPortal\MediaPortal" on your client machine. Note: the stuttering happens when the playback switches from one timeshift file to the next. So in other words if you increase the allowed size of your timeshift files (done via TV-Server config) that will increase the amount of time it takes before you experience the problem
Do the following: Try to open up a pre-recorded TV show. OK the error message, close MediaPortal. Go to your log file on your client machine (Vista: C:\ProgramData\Team MediaPortal\MediaPortal\log\MediaPortal.log || XP: C:\documents and settings\all users\Team MediaPortal\MediaPortal\log\MediaPortal.log) and look for an entry relevant to what you just tried to play (If you need something to search for, try this '[Info.][MPMain]: TvRecorded Play:'). You should be able to find an entry very similar to this:
"2010-01-30 15:43:57.985000 [Info.][MPMain]: TvRecorded Play:\\fileserver\E\HTPC Data\TV Shows\Recordings\The Hills\The Hills - GO! Canberra - 2010-01-19 - 1_00 PM.ts - using rtsp mode:False"
Now on your client machine, highlight the bit that's bold and copy. Then go Start > Run > Explorer > Enter. Explorer should open up. On the address bar up the top, paste in what you copied. If explorer can't see the following path then work on that. Your client machine must be able to see the path in bold.
Once you have the pre-recorded TV bit working apply the same logic to the live-TV. Check the logs, find out where your client machine can't see, fix it. Remember to read the original thread, many people's posts/answers will help you by just reading them.
2: Once everything is working, you may experience live-tv stuttering after watching TV for a bit. If you experience this issue, replace file 'TsReader.ax' with the one attached to this post then reboot the client computer. The file lives in your "C:\Program Files\Team MediaPortal\MediaPortal" on your client machine. Note: the stuttering happens when the playback switches from one timeshift file to the next. So in other words if you increase the allowed size of your timeshift files (done via TV-Server config) that will increase the amount of time it takes before you experience the problem
The second option will work too, but it means installing 4therecord which is a much larger solution than just simply fixing comskip. 4therecord changes the way you can schedule recordings. Personally, I think 4therecord is a fantastic plugin and you may just fall in love with it. To help you decide, the main features of 4therecord are the following:
* Web Access to your TV-Guide over the internet. That means you can schedule stuff from work/school etc.
* Internet access to your TV-Guide via instant messaging. So you 'chat' to your TV-Guide from MSN and tell it to record stuff
* 4TR can send you an email if your system requires your attention
* Uses a rule-based scheduling system. This is pretty cool. This means you can say: Record any "CSI" show, from any channel, but not if its "Miami", and not if I've recorded it before, and not if its "Tuesday" or you can say: record any show that has "heath ledger" in it, but only on channel "BBC" or "Fox" or "SBSTWO". You get the idea. Follow the link above to learn, download and then install it.
I hope this helps someone. My comskip is now working after hours of farting around. I've made a crude adjustment to the wiki (which basically points here) to hopefully help future people who can't get it working and keep loosing their weekends
-George Edwards
++++Original Post++++
Greeting all.
I can't get comskip working and need some help..
Here's what I've done:
- TVSERVER: Downloaded the latest comskip from here: comskip80_030.zip - Jan 02 2010
- TVSERVER: Unpacked to the TV-Server's local disk
- TVSERVER: Enabled the ComSkipLauncher plugin within TV-Server
- TVSERVER: Within the plugin, pointed to the unpacked comskip exe
- TVSERVER: Changed "When to launch" to "Recording End"
- TVSERVER: Left parameters the default, "{0}"
- TVSERVER: Ran a successful test on a pre-recorded .ts file which created the <programme>.txt, <programme>.logo.txt, et al, within the same directory as .ts file
- MediaPortal: Enabled the "Automatically skip commercials for videos with ComSkip data available"
- MediaPortal: Launched Media Portal
- MediaPortal: Navigated to "Recorded TV" and launched the pre-recorded show above
- MediaPortal: Hit "chapter forward" and "chapter back" buttons on keyboard/remote to no avail
- Need comskip actually working
- Would like to limit the parsing of .ts files to specific channels only
- My understanding is that MP will only automatically skip commercials within MyVideos, and pre-recorded TV must be manually skipped by initiating a chapter skip.. however that doesn't work for me either. If I manually look through the comskip data it looks good. That is, the logo is perfect and the timestamps seem right. It's just as though Media Portal is ignoring the comskip data
- Can I easily limit comskip to only parse recordings from certain channels by using the "{6}" parameter? Has anyone had this working?
Thanks to anyone for your help. I had some troubles with my MediaPortal, single-seat solution for a long long time. I've since moved to a server/client setup, only installing on server/client after all errors within event manager were fixed and everything is rock-solid stable. This is the only problem I have left, getting comskip to work. Thanks again. Looking forward to your replies
Last edited: