MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2


MyTV - Engine 0.2 General talk, support, improvement suggestions and tips & tricks

Reply
 
Thread Tools Display Modes
Old 2007-03-18, 04:49   #1 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 700
Thanks: 125
Thanked 90 Times in 49 Posts

Country:

My System

Default Comskip in SVN

I was just looking through the changelog and noticed this:
13/03/2007 [14:16h] and-81 added: Added support for ComSkip txt files. Allows skipping of commercials in videos on playback.
I took a file that comskip had already run on as well as the skip-point txt file that is generated and tried to play it, but it did not skip the commercials. Is this not fully integrated yet or am I just missing something?
jburnette is offline   Reply With Quote
Old 2007-03-18, 05:06   #2 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,248
Thanks: 30
Thanked 142 Times in 88 Posts

Country:

My System

Default

Hey,

I put in the code, so I guess I should explain it for you.

The code currently only supports manually skipping commercials by pressing your "Next Chapter" button on your remote or by selecting "Next Chapter" in the context menu (and "Previous Chapter" on your remote or context menu will go to the start of the previous segment).

I'm still working on automatic skipping, but I feel that getting manual skipping into SVN was a worthy goal in itself.

I've written plugins for launching ComSkip automatically on recordings and will be releasing them shortly.

Cheers,
and-81 is offline   Reply With Quote
Old 2007-03-18, 05:15   #3 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 700
Thanks: 125
Thanked 90 Times in 49 Posts

Country:

My System

Default

Ahh, ok. I tried that and it works beautifully. I can't wait for automatic skipping (my wife, actually, is the one who will be thanking you.) This is a great addition. Thanks a lot!
jburnette is offline   Reply With Quote
Old 2007-03-18, 07:09   #4 (permalink)
Super Moderator
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,909
Thanks: 61
Thanked 27 Times in 27 Posts

Country:

My System

Send a message via ICQ to Marcusb
Default

Hey Aaron, congrats on officially becomming a developer.
I didn't even notice the new comskip support, will have to try it out now

Thanks heaps.
Marcusb is offline   Reply With Quote
Old 2007-03-18, 07:35   #5 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,248
Thanks: 30
Thanked 142 Times in 88 Posts

Country:

My System

Default

Thanks Marcusb,

This feature is still in development, so please be forgiving if you have any problems with it.

I'm just making some changes to the way manual skipping works with remotes ... so you might see some changes over the next few days.

Cheers,
and-81 is offline   Reply With Quote
Old 2007-03-19, 07:55   #6 (permalink)
Portal Member
 
Join Date: Nov 2005
Posts: 224
Thanks: 1
Thanked 3 Times in 3 Posts

Country:

My System

Default

Hi there, great to see you working on this, its a "must have" feature as far as i'm concerned.
I tried it today (with this mornings svn) MediaPortal-svn--03-19-2007--01-02-Rev13476.exe and found that if i viewed the programme through the recorded TV folder that there were no "next chapter" options available in the context menu and therefore i couldnt make the jumps based on the available comskip txt file. This was only possible for me if i viewed the file via the Videos folder. I presume this is something that you're planning on fixing or have i missed the point somewhere?
It worked a treat when acessed through the videos folder and i cant wait for your further development.

Cheers
m
mdsflyer is offline   Reply With Quote
Old 2007-03-19, 11:34   #7 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,248
Thanks: 30
Thanked 142 Times in 88 Posts

Country:

My System

Default

Yes unfortunately that's one of the current limitations.

I'm working on it, but I've got several projects on at the same time right now.

I should have some improvements coming over the next couple of weeks.

I think it's better to have something in there than to have nothing though

Cheers,
and-81 is offline   Reply With Quote
Old 2007-03-19, 19:17   #8 (permalink)
Portal Member
 
Join Date: Nov 2005
Posts: 224
Thanks: 1
Thanked 3 Times in 3 Posts

Country:

My System

Default

Thanks for the reply and thanks for your efforts. As i've just effortlessly skipped through countless ads for KFC and the warehouse i especially agree with your last sentence!

I have some more questions for you but must stress there is no need for an immediate answer.

I use the following batch file to process recordings through comskip

if /i "%1"=="TV1" goto channeltv1
if /i "%1"=="TV2" goto channeltv2
if /i "%1"=="TV3" goto channeltv3
if /i "%1"=="C4" goto channelc4

goto finish

:channeltv1
comskip --logo=tv1.logo.txt "%*"

goto finish

:channeltv2
comskip --logo=tv2.logo.txt "%*"

goto finish

:channeltv3
comskip --logo=tv3.logo.txt "%*"

goto finish

:channelc4
comskip --logo=c4.logo.txt "%*"

goto finish

:finish
del "*.log"
echo done
cls
@exit

Not pretty but does the job of assigning an already derived logo file, (saves time and problems when the picture quality is iffy due to poor reception). I've arranged the recorded filename to be so that the first block of the filename is the channel number enabling the "%1" to point the batch file to the right logo. This works fine when i test it as a standalone but doesnt go at all when i tell the tv server to use this comskip bat file. I presume its because of how the recorded file is being "presented" to the batch file i.e. there are paths or something being added prior to the channel number, is this correct?

In the meantime i'm using

comskip %1
echo done
cls
@exit

which works but without using my logo files, both the baych files are in the same comskip folder so i'll be interested in what is causing one to work and the other not.

Batch files are about as far into programming as i can go, its not really my forte this computer stuff!!

cheers
m

Last edited by mdsflyer; 2007-03-20 at 06:36. Reason: sitting at home with the flu and playing with mp
mdsflyer is offline   Reply With Quote
Old 2007-03-23, 08:46   #9 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Alcalá de Henares
Posts: 85
Thanks: 4
Thanked 1 Time in 1 Post

Country:

My System

Default

Hi Aaron, I love this feature but I think it would be very usefull if the timeline showed everytime that you press one of the chapter keys, the same way it already does whenever you press one of the other skip buttons.

thanks
dareh.
dareh is online now   Reply With Quote
Old 2007-03-23, 09:06   #10 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,248
Thanks: 30
Thanked 142 Times in 88 Posts

Country:

My System

Default

@mdsflyer:

The reason it's not working is because the filename being supplied to your batch file is a full path including "".

I'll be releasing something in the next few days that will let you get around this.... watch this space.

@dareh:

That's a good idea, I'll try to put it in shortly...

Cheers,
and-81 is offline   Reply With Quote
Reply

Bookmarks

Tags
comskip

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comskip/Comclean Nightmare77 General Talk 7 2007-02-22 09:43
How to run Comskip automatically ? olbo General Support 4 2006-06-21 06:32
Comskip 0.79 build 41: Many improvements erik1958 Tips and Tricks 2 2006-05-16 05:16
Looking for DVR-MS examples for Comskip erik1958 General Development (no feature request here!) 2 2006-03-29 19:53
comskip support rob_z11 Improvement Suggestions 2 2005-05-26 18:40


All times are GMT +1. The time now is 14:13.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress