| |||||||
| Tips and Tricks Post your Tips and Tricks in here. |
![]() |
| | Thread Tools | Display Modes |
| | #121 (permalink) | |
| Portal Member Join Date: Jan 2007
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post
Country: | Quote:
| |
| | |
| | #122 (permalink) |
| Portal Developer Join Date: Mar 2005 Location: Melbourne Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts
Country: | Hey all, I've had some requests for information on how to selectively run comskip depending on the channel the recording is on. Here's an example batch file to filter out channels you don't want to run comskip on... Make a file with a ".bat" extension (just open notepad and save the file as a .bat) with the following code in it: Code: @ECHO OFF
REM Plugin parameters must start with: "{6}"
REM eg. "{6}" --playnice "{0}"
IF %1=="Channel Name 1" GOTO End
IF %1=="Channel Name 2" GOTO End
START "ComSkip" "C:\Program Files\ComSkip\ComSkip.exe" %2 %3 %4 %5 %6 %7 %8 %9
:End
Also, I've made a change to the TV2 launcher plugin so you can now run it when a recording starts. Cheers,
__________________ - Aaron. IR Server Suite - Version 1.0.4.1 MCE Replacement Plugin - Version 1.0.4.1 You don't need the MCE Replacement Driver Last edited by and-81; 2007-12-08 at 11:58. Reason: correction to batch file |
| | |
| This User Say Thank You: |
| | #123 (permalink) |
| Portal Member Join Date: May 2007
Posts: 68
Thanks: 1
Thanked 1 Time in 1 Post
Country: | Aaron Thanks for the earlier advice when auto commercial skipping was released in the SVN. At the time, my system was wonkey and needed a re-bore which I have done, but not without challenges - for some reason my computer clock got reset 20 days back and because of that no EPG data would show - took a while to notice that had happened - rest the clock and all worked normally. Anyway, your auto skipping when watching after recording TV is probably the best thing since sliced bread - so far, evrything has worked fine. I am trying the running of Comskip from the start of recording to see what that looks like. Has anyone ever requested that when a recorded TV program is deleted within MP single seat, it also deletes all the Comskip created files? I find I have to do that cleanup every now and then or am I missing something by way of a "delete all associated files" setting? A huge thankyou Aaron - my system is now near perfect, especially with auto Comskip and MCE Replacement Plugin being used simply for blasting my Sky TV set top box (although my second set top box does not respond to blasting from learned IR codes). |
| | |
| | #124 (permalink) | |
| Portal Member | Quote:
| |
| | |
| | #125 (permalink) |
| Portal Developer Join Date: Mar 2005 Location: Melbourne Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts
Country: | It should already delete the .txt file. You can modify the comskip ini to get rid of some of the other files when it finishes. I can't remember the parameters, but crack open the ini file and take a look. Also, check the comskip web page. ALSO, I've made a correction to the batch file example above. Thanks to Taipan for pointing this out. Cheers,
__________________ - Aaron. IR Server Suite - Version 1.0.4.1 MCE Replacement Plugin - Version 1.0.4.1 You don't need the MCE Replacement Driver |
| | |
| | #126 (permalink) |
| Portal Member Join Date: May 2007
Posts: 68
Thanks: 1
Thanked 1 Time in 1 Post
Country: | I have run this with MP 0.2.3 Final and selected at "start of recording" in the Comskip MP Configuration options. When a recording was carried out, it did not create the .txt file which contains the logo. It was before the updated SVN was loaded. I then tried to switch to "after recording" option and that option would check okay with the radio button but did not save it because on immedialtely closing MP Configuration and restarting MP Configuration, the "start of recording" option was checked. I am unable to change the option "at start" back to "after recording". Any ideas? |
| | |
| | #127 (permalink) |
| Portal Developer Join Date: Mar 2005 Location: Melbourne Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts
Country: | johnrw: This has me a little confused. The start of recording option is not available in 0.2.3.0 final, so I assume you are running an SVN on top of that? You can force the setting manually by modifying the mediaportal.xml configuration file. Do a search in the file for "comskip" and you should find it. Is anyone else experiencing this? I can't seem to reproduce the problem here... yet. Cheers,
__________________ - Aaron. IR Server Suite - Version 1.0.4.1 MCE Replacement Plugin - Version 1.0.4.1 You don't need the MCE Replacement Driver Last edited by and-81; 2007-12-12 at 14:45. |
| | |
| | #128 (permalink) |
| Portal Member Join Date: May 2007
Posts: 68
Thanks: 1
Thanked 1 Time in 1 Post
Country: | I read my text in my reported issue again and I can see how I have confused. Here is another shot as the issue. With 0.2.3.0 Final plus the SVN which first introduced auto-skip with Comskip run after recording, the logo.txt file was produced and all worked in auto skip. When I updated to later SVNs containing the option to run Comskip from start of recording, no logo.txt file was produced (the other two txt files were produced) so auto skip or even manual skip with the remote did not work. If I go back to MP Configuration to reset Comskip to run at end of recording, it will not hold the setting and just stays on running Comskip from start of recording. When I change back to the older SVN (16599 I think), it works again. I have changed back and forth with the SVNs two or three times and it is consistent. Cheers Just checked the mediaportal.xml file: When I select Comskip after end of recording in MP Configuration, then close MP setup, then check the .xml file it shows "no"to run at start. When I go back to MP Configuration, open the Comskip plugin, the radio button shows run at start. If I click on run at start, then check the .xml file it shows "yes". If I start MP Configuration again, click on run Comskip at end, a re-check of this setting in MP Configuartion, after I have previously shut it down and re-opened, shows the radio button on at start. Once more then if I shut MP Configuration and check the .xml file it shows "no". It so far looks like the .xml file gets updated eevn though the MP Comskip plugin display never holds the at end button selection. The end result is that whatever I have in .xml "no" or "yes", the logo.txt file does not get produced. Done one more check: When the Comskip plugin is opened within MP Configuration, the radio button always defaults to run at start. This saves "yes" into the .xml file. When I set the radio button to at end of recording, save and shut down MP Configuration without reopening the Comskip plugin to check the radio button (which if I did would always go back to the run at start position), then check the .xml file, it shows "no". The first part of the problem is that MP Configuration Comskip plugin always defaults and saves "yes" in the .xml file if the plugin is opened. I have made sure the .xml is in the "no" position so I will check tonight what happened to see if a logo.txt file is created. The second potential problem is that if it is in the "yes" position (in the .xml fil) it does not produce the logo.txt file and maybe when it is in the "no" position (in the .xml file) it does produce the logo.txt file. Tonight's test will reveal. Last edited by johnrw; 2007-12-12 at 19:50. Reason: Automerged Doublepost |
| | |
| | #129 (permalink) |
| Portal Developer Join Date: Mar 2005 Location: Melbourne Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts
Country: | ok, thanks for the detailed description. I'll take another look at it. It sounds like there are two issues present: 1. The plugin is not loading it's configuration properly. 2. ComSkip is not processing the DVR-MS files properly when run at start. We may need to contact erik if we can show that "2" is right. I'll go fix "1" now. Cheers,
__________________ - Aaron. IR Server Suite - Version 1.0.4.1 MCE Replacement Plugin - Version 1.0.4.1 You don't need the MCE Replacement Driver |
| | |
![]() |
| Bookmarks |
| Tags |
| commercials, comskip, cut, howto |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| System requirements for HDTV with MediaPortal | Tech Geek | Hardware Selection Help | 62 | 2007-08-08 08:20 |
| MediaPortal GET YOU GOING GUIDE | aal | Tips and Tricks | 19 | 2007-06-22 19:39 |
| A perfect HTPC with MP & PVR Scheduler & faster XP | STSC | Tips and Tricks | 16 | 2007-01-30 23:40 |
| PVR Scheduler: cant make it work | ethanx | Codecs, External Players | 1 | 2006-03-20 00:42 |
| Compile problems | Anonymous | General Development (no feature request here!) | 1 | 2004-04-28 22:49 |