You are not logged in.

Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, March 19th 2005, 5:21pm

[Patch] dvd-plugin: resume already whatched dvds

Aus der ML von heute :
---------------------
hi list, hi dvd maintainers,

I created a patch to resume a dvd where it was interupted by the user.
It is not yet fully finalized:

The computation of the disc-id maybe still needs some work to avoid
resuming on the wrong resuming data, but I think it can be used already.
I currently takes the disc title, the number of titles on the disc and
the overall total number of chapters to form a uniq id.

Also what kind of data is stored and resumed might be worth a look.
Currently it resumed to the former title and time but the choosen audio
and subtitle stream (has anyone a dvd with differnent angles?) might be
useful, especially on multi-lingual dvds.

The patch is created against todays CVS. I don't know if it also applies
cleanly to the last release. Just give it a try!

Maybe the maintainers of the dvd plugin can integrate this functionality
into the CVS and so in further releases.

CU/all
holymoly has attached the following file:

2

Friday, August 12th 2005, 6:35pm

RE: [Patch] dvd-plugin: resume already whatched dvds

Also mit aktullem CVS checkout von heute bekomme ich

Source code

1
2
3
4
5
6
7
8
9
patch -p1 < /usr/src/source/video\ disk\ recorder/diffs/vdr-dvd_resume.diff
patching file Makefile
patching file player-dvd.c
Hunk #8 FAILED at 1460.
Hunk #9 succeeded at 2207 (offset 16 lines).
Hunk #10 succeeded at 2515 (offset 5 lines).
1 out of 10 hunks FAILED -- saving rejects to file player-dvd.c.rej
patching file player-dvd.h
[root@chaplin /usr/src/vdr-1.3.28/PLUGINS/src/dvd]#


Gruss,


Jörg
debian 6.0.7 64-bit, kernel 3.10.0, 2xBudget-CI,Cine S2 V6.5,vdr (2.0.2/2.0.0), vdr-sxfe,remote-plugin + EPSON EH-TW4400 HD Beamer :)

3

Monday, August 15th 2005, 9:46am

RE: [Patch] dvd-plugin: resume already whatched dvds

Hallo,

das ist der fix für den reject :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- player-dvd.c.ORG    2005-08-05 11:46:44.616539991 +0200
+++ player-dvd.c        2005-08-05 11:48:15.824301444 +0200
@@ -1460,6 +1460,11 @@
              // cell change .. game over ..
              changeNavSubpStreamOnceInSameCell=false;
          SetTitleInfoString();
+              if (next_cell_change) {
+                next_cell_change = false;
+                // we are resuming the current dvd. NOW its time to seek to the correct second.
+                Goto(resSecond);
+              }
              break;
          }
          case DVDNAV_NAV_PACKET: {

klappt zumindest bei mir ;)

gruß
Viking
04.07.2007 Sharemarks 0.1.4pre6
AutoCutter 0.3.1
LC17

Bin dabei auf LinuxMCE umzustellen.
System : Viking LinuxMCE

Posts: 139

Location: Bretten

Occupation: Ingenieur

  • Send private message

4

Saturday, August 27th 2005, 11:46pm

Hallo,
der Patch funktioniert sehr gut (ich bin total weg, daß das wirklich geht). Wie oben schon angemerkt, wird der gewählte Audio-Stream nicht mitgespeichert. Auf der "Findet Nemo"-DVD wird leider immer die englische Spur nach dem resume verwendet, obwohl alle Einstellungen im VDR auf Deutsch gesetzt sind. Hat schon jemand den Patch entsprechend ergänzt?

Grüße
kenwood_vdr

Wohnzimmer-System: Psile-Gehäuse, yaVDR 0.2, Zotac GeForce 9300 ITX, Intel Pentium E5300, 4GB Ram, Mystique SaTiX-S2 V2 CI Dual
Früherer Wohnzimmer-Rechner: Kenwood-CD Player (entkernt), mit EPIA ME6000, TT 1.5, Samsung 160 GB, 256 MB RAM , DVD Toshiba SD 1602, AV-Board 1.3, LinVDR 0.7, 1 Papst-Lüfter, trotzdem schön leise :)

This post has been edited 1 times, last edit by "kenwood_vdr" (Aug 29th 2005, 12:46pm)