Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: macfly on December 30, 2005, 12:36:48

Title: FeatureRequest: marks
Post by: macfly on December 30, 2005, 12:36:48
Hi,

i'm using vomp since 0.0.13 and find is VERY usefull!

some Features would be nice to have:
- Display marks in replay with jump forward, backward
- having more than one directory in recordings (like Series~SciFi~Star Treck~)
- mp3-playback.

i just finished installing the development environment for vomp and looking around - as soon as i understand whats going on, i'll contribute.


regards and keep on the good work,
macfly.
Title: Re: FeatureRequest: marks
Post by: Chris on December 31, 2005, 19:06:02
Good to hear you are interested in the code, how did setting up the dev env go?

By displaying marks for things, do you mean fancy little osd things for when you press buttons? If so then yes, I will get around to this soon. Recent low level gui changes have made doing that kind of thing much easier, it will all come when I do osd display for position in recording, etc.

Having more than one dir level is VDR dependant. Does the latest VDR 1.3 do this?

As for mp3 playback, well I have spoken about that before. Low priority, would rather get the set top box functionality working first, how to transfer mp3s to the MVP without loading down the kernel full of FS and networking drivers, etc etc yadda yadda :)
Title: Re: FeatureRequest: marks
Post by: macfly on May 30, 2006, 20:16:07
Hi Chris,

finally i found some time to get into the code.
i managed to extend the server plugin and the client to exchange marks for a recording.

(what are marks?: Marks a set manually or ideally with noad automatically indicating a starting and ending advertisement. In VDR, you can skip to next mark with 9 while playback. So, if you are watching recordings and an advertisement is starting, simply hit 9 to skip to the end of this ad.)

Now i have some problems understanding the code:
- i do not know, where to store the marks (that are a vecor of mark, a simple class representing an integer). The marks need to be accessable from inside a recording, so a skipToNextMark(int mark) (simmilar to skipForward()). I simply do not get the point from recordinglist to a player-object. Could you please show me the way?

regards and keep up the work!
Title: Re: FeatureRequest: marks (implemented!)
Post by: macfly on May 31, 2006, 21:54:14
Hi Chris,

i just managed to get this cutting marks stuff running. Attached you find two patches:
vompserver_marks.patch (apply to cvs version of server) enables the serverpart to:

mvp_client_marks.patch (apply to cvs version of client) enables the client to:

so, if you have http://www.freepgs.com/noad/ running over your recordings, you get automagically cutting marks starting at every advertising and ending at every advertising-end.

If you find the time to look over the code, i'd like to hear your feedback.
Title: Re: FeatureRequest: marks
Post by: macfly on June 03, 2006, 23:50:12
hm... 6 downloads and still no feedback?

to all downloaders of this patch: does the patch work for you? is it working as expected or does it simply suck? Feedback is welcome!
Title: Re: FeatureRequest: marks
Post by: genius on June 04, 2006, 14:29:49
Hey mcFly ...

I didn't use your patch because I downgraded to 0.2.2 - the 0.2.2 is rock stable for me when switching to channels which are not availabel in the Moment - The 0.2.3 crashes and I have to plug the power.

Genius

P.S. I can't await to try your Patch

Title: Re: FeatureRequest: marks
Post by: torsten on June 06, 2006, 15:32:35
Hello macfly,

your patch works great, but I had to patch it. In the case, that there are no marks for your recording, the plugin sends now a mark at the beginning of the recording (a zero). Without my patch the client, not the box,  freezes.

Yours

Torsten
Title: Re: FeatureRequest: marks
Post by: macfly on June 06, 2006, 20:49:05
hi Torsten,

thanks for feedback. I did not notice this behaviour.