Hello fellows ;-)
First I survived my birthday :-) and I found one little bug that is allready fixed inside svn
http://code.google.com/p/swiss-army-knif...tail?r=458
You only have to edit 2 files (shell-scripts) and to insert a single line of code.
The next bug I found is a bit harder to be resolved ...
Let us make a example how this error do come :
Inside the addon the shell-script dvd-chapter.sh is used to generate a list of tracks ...
Code:
----------------------------------------------------------------------------
script : dvd-chapter.sh
version : 0.6.19 [swiss-army-knife addon] [01.03.2011]
copyright : (C) <2010-2011> <[email protected]>
changed to /home/user/.xbmc/addons/script.video.swiss.army.knife/shell-linux
scipt is using a device as source [/dev/sr0]
----------------------------------------------------------------------------
INFO track-index:[00] length:[00:00:23.130] chapters:[01]
INFO track-index:[01] length:[00:00:07.000] chapters:[01]
INFO track-index:[02] length:[01:36:44.370] chapters:[11]
INFO track-index:[03] length:[00:02:04.040] chapters:[01]
INFO track-index:[04] length:[00:02:00.130] chapters:[01]
INFO track-index:[05] length:[00:02:11.370] chapters:[01]
INFO track-index:[06] length:[00:01:57.160] chapters:[01]
INFO track-index:[07] length:[00:01:28.050] chapters:[01]
INFO track-index:[08] length:[00:01:06.320] chapters:[01]
INFO track-index:[09] length:[00:01:53.240] chapters:[01]
INFO track-index:[10] length:[00:01:38.090] chapters:[01]
INFO track-index:[11] length:[00:14:20.050] chapters:[09]
INFO track-index:[12] length:[00:01:51.280] chapters:[02]
INFO track-index:[13] length:[00:26:36.250] chapters:[05]
INFO track-index:[14] length:[00:09:23.080] chapters:[10]
INFO track-index:[15] length:[00:34:31.210] chapters:[20]
INFO track-index:[16] length:[00:03:35.140] chapters:[02]
INFO volume-name of the current inserted dvd is [GHETTOGANGZ2ULTIMATUM]
INFO automatic selected track from inserted dvd [03][line-index]
INFO default language 1 [en]
INFO default language 1 [en] not found inside track [03]
----------------------- script rc=5 -----------------------------
-----------------------------------------------------------------
user@xbmcdev:~/.xbmc/addons/script.video.swiss.army.knife/shell-linux$
From the normal output of the script it seems that all is ok ....
but as soon the command makemkvcon --info is executed on the same disk we have a diffrent output ....
Code:
user@xbmcdev:~/.xbmc/addons/script.video.swiss.army.knife/shell-linux$ makemkvcon info dev:/dev/sr0
MakeMKV v1.6.3 linux(x86-release) started
Using direct disc access mode
Title #0 has length of 23 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #1 has length of 7 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #2 was added (12 cell(s), 1:36:38)
Title #3 was added (1 cell(s), 0:02:04)
Title #4 was added (1 cell(s), 0:02:00)
Title #5 was added (1 cell(s), 0:02:11)
Title #6 has length of 117 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #7 has length of 88 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #8 has length of 66 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #9 has length of 113 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #10 has length of 98 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Cells 9-end were skipped due to cell commands (structure protection?)
Title #11 was added (8 cell(s), 0:14:17)
Title #12 has length of 111 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Cells 5-end were skipped due to cell commands (structure protection?)
Title #13 was added (4 cell(s), 0:26:35)
Cells 10-end were skipped due to cell commands (structure protection?)
Title #14 was added (9 cell(s), 0:09:18)
Cells 20-end were skipped due to cell commands (structure protection?)
Title #15 was added (19 cell(s), 0:34:23)
Cells 2-end were skipped due to cell commands (structure protection?)
Title #16 was added (1 cell(s), 0:03:35)
Operation successfully completed
Total 9 titles
Title 0
0 Video Mpeg2
1 Audio Dolby Digital
2 Audio Dolby Digital
3 Subtitles Dvd Subtitles
4 Subtitles Dvd Subtitles
Title 1
0 Video Mpeg2
1 Audio Dolby Digital
Title 2
0 Video Mpeg2
1 Audio Dolby Digital
Title 3
0 Video Mpeg2
1 Audio Dolby Digital
Title 4
0 Video Mpeg2
1 Audio Dolby Digital
Title 5
0 Video Mpeg2
1 Audio Dolby Digital
2 Subtitles Dvd Subtitles
Title 6
0 Video Mpeg2
1 Audio Dolby Digital
2 Subtitles Dvd Subtitles
Title 7
0 Video Mpeg2
1 Audio Dolby Digital
2 Subtitles Dvd Subtitles
Title 8
0 Video Mpeg2
1 Audio Dolby Digital
The index for start-track is not the same as for dvd-chapter.
(on dvd-chapter.sh I would choose track 2 and on scripts that
use makemkv I must use track 0 because the origin tracks 0 and 1 are invalid)
I try to integrate a solution for this invalid tracks inside the shell-scripts.
With the best regards from switzerland
Hans