Kodi Community Forum
[RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows (/showthread.php?tid=52615)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


- hotlobster - 2011-03-09

Tryed to set it to 4 ( it was set to 1 sec in the script ), but no improvement, still this error:

Error Contents: local variable 'sshlog' referenced before assignment.

Is there a way to force the ssh-check to ok, I'd like to see if everything is working as expected once the check passed.

Cheers


- linuxluemmel - 2011-03-09

@hotlobster

Could please provide a full debug log including a debug log from SAK ?
Are you using a xbmc build that is using external python ?
In the moment I try to code a parameter to the settings for this timeout ...

Regards
Hans


- linuxluemmel - 2011-03-09

I provide a svn snapshot of the next coming release 0.6.19 for downloading :

http://swiss-army-knife.googlecode.com/files/sak-svn-snapshot-09032011.zip

It is allmost complet with one execption ; Issue 17 is still not fixed

Could anyone with this ssh-check problem please use this svn-snapshot and
report feedback ?

Regards
Hans


- hotlobster - 2011-03-10

Hi there.

Just installed SAK.

I use Dharma opendkamp pvr not compiled with external python.

So, still have a bug, not the sshlog one, but more python related.

I had this bug yesterday when trying to bypass the sshcheck:

Error Contents: 'ascii' codec can't encode character u'\xe9' in position 41: ordinal not in range(128)


Here is the full debug log:

http://xmltv.free.fr/xbmc.log

It seems there's some problem in ascii/utf8 conversion depending of your configuration.

sys.getdefaultencoding() gives 'ascii'
but
locale.getdefaultlocale() gives ('fr_FR', 'UTF8')

Python by default is set to ascii on Debian, but locale are UTF-8 by default too. Perhaps it's the source of the problem.



Cheers


- linuxluemmel - 2011-03-10

ordinal not in range(128)

This looks strange to me ....
Is it true that your xbmc interface has french as default language ?

Nous avons un problème avec la langue

Is it may possible to switch back to english and see if that happens again ?

Regards
Hans

btw It seems that the ssh problem is solved ,-) ( I saw this in the logs...)


- hotlobster - 2011-03-10

Yep my interface is in French.

Those error are related to special characters conversion with Python :

http://docs.python.org/howto/unicode.html



I confirm it works when i fall back in English.


And hell yeah ssh problem is gone. What did you change ?


- linuxluemmel - 2011-03-10

@hotlobster

Thanks for the feedback anyway ,-)
I guess I know by now were the problem is ....
I wonna try to fix this issue on the next weekend ,-)

For the ssh relatet problems I changed some lines of code .


You can see all the changes I made yesterday in Commit R483

http://code.google.com/p/swiss-army-knife/source/detail?r=483


- linuxluemmel - 2011-03-11

@hotlobster

You can still use french as your default language.
Please disable verbose log including notifications over the addon-settings.
As soon this 2 options are disabled -> Voila, c'est bon ,-)

Regards
Hans

I try to iplement this 2 functions unicode save ;-)


- hotlobster - 2011-03-11

Thanks for the tips linuxluemmel Smile

I've tryed the new "use iso instead of dvd" feature, but I don't see how it works.
I've mounted the iso in /dev/dvd with -loop , but the soft keeps telling me drive is not ready.


- linuxluemmel - 2011-03-12

@hotlobster

This new parameter is inside the settings but has by now effect.
I will implement this feature later. I hope anyone who had this ssh failure
can now work with the addon.


- mdoubleok - 2011-03-13

Forgive my newbness, what log do you need and where do i get that.

Im still having ssh issues.

Never mind reran setup everything seems fine.


- mdoubleok - 2011-03-16

Seemed fine. Im having blu-ray issues its looks like it wants to start. but never does. just freezes at working. Dvd Starts but it seems to take longer than it has before.


- speed32219 - 2011-03-21

Still getting the language error. I've install 6.19, here is the ssh log entry.

Code:
TERM environment variable not set.

----------------------------------------------------------------------------
script    : state.sh
version   : 0.6.19 [swiss-army-knife addon] [01.03.2011]
copyright : (C) <2010-2011>  <[email protected]>
changed to /home/xbmc/.xbmc/addons/script.video.swiss.army.knife/shell-linux
----------------------------------------------------------------------------

INFO [media:[DVD-ROM]]

----------------------- script rc=0 -----------------------------
-----------------------------------------------------------------
[b]TERM environment variable not set.[/b]
##Hans, what is this?  Could this be the culprit.
----------------------------------------------------------------------------
script    : dvd-chapter.sh
version   : 0.6.19 [swiss-army-knife addon] [01.03.2011]
copyright : (C) <2010-2011>  <[email protected]>
changed to /home/xbmc/.xbmc/addons/script.video.swiss.army.knife/shell-linux
scipt is using a device as source [/dev/sr0]
----------------------------------------------------------------------------

INFO track-index:[00] length:[02:41:32.186] chapters:[36]
INFO track-index:[01] length:[00:00:00.176] chapters:[01]
INFO track-index:[02] length:[00:00:00.176] chapters:[01]
INFO track-index:[03] length:[00:00:07.176] chapters:[02]
INFO track-index:[04] length:[00:00:00.176] chapters:[01]
INFO track-index:[05] length:[00:00:07.176] chapters:[02]
INFO track-index:[06] length:[00:00:34.176] chapters:[02]
INFO track-index:[07] length:[00:00:00.176] chapters:[01]
INFO track-index:[08] length:[00:00:43.176] chapters:[02]
INFO track-index:[09] length:[00:00:00.176] chapters:[01]
INFO track-index:[10] length:[00:00:11.143] chapters:[02]
INFO track-index:[11] length:[00:00:05.176] chapters:[02]
INFO track-index:[12] length:[00:00:00.176] chapters:[01]
INFO track-index:[13] length:[00:00:00.176] chapters:[01]
INFO track-index:[14] length:[00:00:00.176] chapters:[01]
INFO track-index:[15] length:[00:00:00.176] chapters:[08]
INFO track-index:[16] length:[00:00:00.176] chapters:[01]
INFO track-index:[17] length:[00:00:10.176] chapters:[03]
INFO track-index:[18] length:[00:00:00.176] chapters:[01]


INFO volume-name of the current inserted dvd is [AVATAR]
INFO automatic selected track from inserted dvd [][line-index]
INFO default language 1 [en]
INFO default language 1 [en] not found inside track []

I've been using mkv, but I prefer yours. Just can't get past the language error.
FYI: If i use expert mode to Ripp DVD to ISO it works, but selecting Trancode DVD from main menu I get the language error. Is Transcode to dvd on main menu just using cmd dd if=/dev/sr0 of=/rip directory file name.iso. I've looked at dvd-chapter.sh and can not pin point what is causing the error.


- linuxluemmel - 2011-03-21

@speed32219

Is it may possible to insert the same dvd and do this command ...
lsdvd -a
And recopy the output to a pastebin ?

Regards
Hans


- speed32219 - 2011-03-21

lsdvd -a
Can't find device /dev/dvd

lsdvd /dev/sr0 -a
Code:
libdvdread: Using libdvdcss version 1.2.10 for DVD access
Disc Title: AVATAR
Title: 01, Length: 02:41:32.186 Chapters: 36, Cells: 46, Audio streams: 04, Subpictures: 04
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
        Audio: 2, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81
        Audio: 3, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x82
        Audio: 4, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x83

Title: 02, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80

Title: 03, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 04, Subpictures: 04
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
        Audio: 2, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81
        Audio: 3, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x82
        Audio: 4, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x83

Title: 04, Length: 00:00:07.176 Chapters: 02, Cells: 02, Audio streams: 00, Subpictures: 00

Title: 05, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 00, Subpictures: 00

Title: 06, Length: 00:00:07.176 Chapters: 02, Cells: 02, Audio streams: 00, Subpictures: 00

Title: 07, Length: 00:00:34.176 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80

Title: 08, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80

Title: 09, Length: 00:00:43.176 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80

Title: 10, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80

Title: 11, Length: 00:00:11.143 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80

Title: 12, Length: 00:00:05.176 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80

Title: 13, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80

Title: 14, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80

Title: 15, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80

Title: 16, Length: 00:00:00.176 Chapters: 08, Cells: 01, Audio streams: 00, Subpictures: 00

Title: 17, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 00, Subpictures: 00

Title: 18, Length: 00:00:10.176 Chapters: 03, Cells: 03, Audio streams: 00, Subpictures: 00

Title: 19, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 04, Subpictures: 04
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
        Audio: 2, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81
        Audio: 3, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x82
        Audio: 4, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x83

Longest track: 01

FYI: If i use expert mode to Ripp DVD to ISO it works, but selecting Trancode DVD from main menu I get the language error

Ops, sorry about the pastebin, I will do that from now on, keeps pages on posts down.