Kodi Community Forum
[RELEASE] OpenSubtitles OSD (Script) - 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: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143)
+---- Thread: [RELEASE] OpenSubtitles OSD (Script) (/showthread.php?tid=56083)



- amet - 2010-03-20

eg1l Wrote:Hi!
Im gettin an ERROR: Error! search_subtitles:[Errno 0] Error: 'rar://C:\\Videos\\Movies\....... when using opensubtitles.org as a source. It work when using sublight. When could cause this?

debug log?


- amet - 2010-03-20

Jaco2k Wrote:This seems broken on the latest SVNs after the addons switch. Any ideas?

current SVN is not stable ATM, if you are using it expect problems.

more here, http://xbmc.org/theuni/2010/03/01/impending-merge-addons/


- Jaco2k - 2010-03-20

Amet Wrote:current SVN is not stable ATM, if you are using it expect problems.

more here, http://xbmc.org/theuni/2010/03/01/impending-merge-addons/
That much I knew but I guess it is obvious plugins will need to be changed to acommodate for what has happened on the SVN and I was wondering if there is any development in that direction Smile

...guess not!


- amet - 2010-03-20

Jaco2k Wrote:That much I knew but I guess it is obvious plugins will need to be changed to acommodate for what has happened on the SVN and I was wondering if there is any development in that direction Smile

if I change it to accommodate for the current unstable SVN trunk it will not work on stable releases.


Jaco2k Wrote:...guess not!

that was a good guess Smile


- eg1l - 2010-03-20

Amet Wrote:debug log?

Hope this is what you need:

14:04:52 T:944 M:3119706112 NOTICE: -->Python Interpreter Initialized<--
14:04:52 T:944 M:3117649920 NOTICE: False
14:04:52 T:1468 M:3117711360 WARNING: CDVDVideoCodecFFmpeg:Big Grinecode - avcodec_decode_video didn't consume the full packet. size: 12556, consumed: 0
14:04:53 T:2508 M:3114897408 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
14:04:53 T:2508 M:3114897408 ERROR: CGUIMediaWindow::GetDirectory(?) failed
14:04:53 T:944 M:3113787392 NOTICE: ERROR: Error! search_subtitles:[Errno 0] Error: 'rar://C:\\Videos\\Movies\\Angels.&.Demons\\Angels.&.Demons.rar/Angels.&.Demons.2009.mkv'
14:05:00 T:2508 M:3113271296 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\media\AppData\Roaming\XBMC\scripts\OpenSubtitles_OSD


- amet - 2010-03-20

eg1l Wrote:Hope this is what you need:

14:04:52 T:944 M:3119706112 NOTICE: -->Python Interpreter Initialized<--
14:04:52 T:944 M:3117649920 NOTICE: False
14:04:52 T:1468 M:3117711360 WARNING: CDVDVideoCodecFFmpeg:Big Grinecode - avcodec_decode_video didn't consume the full packet. size: 12556, consumed: 0
14:04:53 T:2508 M:3114897408 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
14:04:53 T:2508 M:3114897408 ERROR: CGUIMediaWindow::GetDirectory(?) failed
14:04:53 T:944 M:3113787392 NOTICE: ERROR: Error! search_subtitles:[Errno 0] Error: 'rar://C:\\Videos\\Movies\\Angels.&.Demons\\Angels.&.Demons.rar/Angels.&.Demons.2009.mkv'
14:05:00 T:2508 M:3113271296 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\media\AppData\Roaming\XBMC\scripts\OpenSubtitles_OSD

please post the whole debug log on pastebin and link here

Zeljko


- eg1l - 2010-03-20

Amet Wrote:please post the whole debug log on pastebin and link here

Zeljko
http://pastebin.com/F7y6RqcZ


- amet - 2010-03-20

eg1l Wrote:http://pastebin.com/F7y6RqcZ

can you please enable scripts debug log(script settings) and repost xbmc.log again.

there has been some work done on rar handling but that wont be released until svn trunk stabilizes a bit, maybe not until 10.05.

Zeljko


- uno - 2010-03-21

I am having some problems getting this script to work properly. I have installed version 1.50 using the SVN Repo Installer, and also installed the Confluence skin hack. I have the new button in the OSD. But when I press it, it never finds anything, it just says "Searching....". I have also checked the box for manual search in the script settings, but I can't find a way to enter a search string. Am I doing anything wrong?

EDIT:
Could this be related to the rar problem mentioned above? I mainly have movies in rar format, and I think I have only tried that.


- amet - 2010-03-21

uno Wrote:I am having some problems getting this script to work properly. I have installed version 1.50 using the SVN Repo Installer, and also installed the Confluence skin hack. I have the new button in the OSD. But when I press it, it never finds anything, it just says "Searching....". I have also checked the box for manual search in the script settings, but I can't find a way to enter a search string. Am I doing anything wrong?

EDIT:
Could this be related to the rar problem mentioned above? I mainly have movies in rar format, and I think I have only tried that.

only debug log would tell us Wink


- uno - 2010-03-21

I have turned on debug logging in the script settings. Is it logged to xbmc.log, or some other file?

I tested, and it works if I unpack the rar file before I start the video.


- amet - 2010-03-21

uno Wrote:I have turned on debug logging in the script settings. Is it logged to xbmc.log, or some other file?

I tested, and it works if I unpack the rar file before I start the video.

yes, its logged to xbmc.log

I suspect this has been fixed in the past few weeks, look here, but as it contains some new features only available in latest XBMC SVN it will not be released it until trunk becomes more stable.

Zeljko


- uno - 2010-03-21

Here is the log snippet. I will try the files from your link, I am running XBMC r28256.

Code:
09:32:17 T:3856 M:907882496  NOTICE: My Videos: Scanning for video info using worker thread, operation took 00:01
09:33:15 T:2996 M:912453632  NOTICE: -->Python Interpreter Initialized<--
09:33:20 T:3456 M:907681792  NOTICE: DVDPlayer: Opening: rar://D%3a%5cFilm%5cKnowing%2e720p%2eBluRay%2ex264%2dHUBRIS%5cknowing%2dh%2erar/knowing-h.mkv
09:33:20 T:3456 M:907677696 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:33:20 T:3404 M:907509760  NOTICE: Creating InputStream
09:33:20 T:3404 M:907399168  NOTICE: Creating Demuxer
09:33:20 T:3404 M:899170304  NOTICE: Opening video stream: 0 source: 256
09:33:20 T:3404 M:899170304  NOTICE: Creating video codec with codec id: 28
09:33:20 T:3404 M:899596288  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
09:33:20 T:3404 M:899592192  NOTICE: Creating video thread
09:33:20 T:3404 M:899592192  NOTICE: Opening audio stream: 1 source: 256
09:33:20 T:3404 M:899592192  NOTICE: Finding audio codec for: 86021
09:33:20 T:3064 M:899604480  NOTICE: running thread: video_thread
09:33:20 T:3404 M:899604480  NOTICE: Creating audio thread
09:33:20 T:3404 M:899604480  NOTICE: Opening Subtitle stream: 0 source: 1024
09:33:20 T:3804 M:899604480  NOTICE: running thread: CDVDPlayerAudio::Process()
09:33:20 T:3404 M:899604480   ERROR: CDVDPlayerSubtitle::OpenStream - Unable to create subtitle parser
09:33:20 T:3404 M:899604480 WARNING: CDVDPlayer::OpenSubtitleStream - Unsupported stream 0. Stream disabled.
09:33:20 T:3404 M:899604480  NOTICE: Opening Subtitle stream: 0 source: 1025
09:33:20 T:3404 M:899604480   ERROR: CDVDPlayerSubtitle::OpenStream - Unable to create subtitle parser
09:33:20 T:3404 M:899604480 WARNING: CDVDPlayer::OpenSubtitleStream - Unsupported stream 0. Stream disabled.
09:33:20 T:3404 M:899604480  NOTICE: Opening Subtitle stream: 0 source: 1026
09:33:20 T:3404 M:899604480   ERROR: CDVDPlayerSubtitle::OpenStream - Unable to create subtitle parser
09:33:20 T:3404 M:899604480 WARNING: CDVDPlayer::OpenSubtitleStream - Unsupported stream 0. Stream disabled.
09:33:20 T:3804 M:899522560  NOTICE: Creating audio device with codec id: 86021, channels: 6, sample rate: 48000, no pass-through
09:33:20 T:3064 M:887619584  NOTICE:  fps: 23.976025, pwidth: 1280, pheight: 544, dwidth: 1280, dheight: 544
09:33:20 T:3064 M:887615488  NOTICE: Display resolution DESKTOP : 1804x1028 @ 50.00 - Full Screen (12)
09:33:28 T:3068 M:872689664  NOTICE: -->Python Interpreter Initialized<--
09:33:28 T:3068 M:871944192  NOTICE: OpenSubtitles_OSD version [1.50]
09:33:28 T:3068 M:871944192  NOTICE: Skin Folder: [ confluence ]
09:33:28 T:3068 M:871944192  NOTICE: OpenSubtitles_OSD skin XML: [ confluence ]
09:33:28 T:3068 M:871895040  NOTICE: True
09:33:29 T:3068 M:867364864  NOTICE: INFO: Manual Search : [True]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Service : [OpenSubtitles]
09:33:29 T:3068 M:867364864  NOTICE: INFO: SL Service : [False]
09:33:29 T:3068 M:867364864  NOTICE: INFO: PN Service : [False]
09:33:29 T:3068 M:867364864  NOTICE: INFO: OS Service : [True]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Search String: [knowing+h]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Temp?: [False]
09:33:29 T:3068 M:867364864  NOTICE: INFO: File Path: [rar://D:\Film\Knowing.720p.BluRay.x264-HUBRIS\knowing-h.rar/knowing-h.mkv]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Year: [0]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Subtitle Folder: [D:\Film\Knowing.720p.BluRay.x264-HUBRIS]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Language 1: [eng]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Language 2: [swe]
09:33:29 T:3068 M:867364864  NOTICE: INFO: Language 3: [eng]
09:33:29 T:3456 M:867352576   ERROR: XFILE::CDirectory::GetDirectory - Error getting ?
09:33:29 T:3456 M:867352576   ERROR: CGUIMediaWindow::GetDirectory(?) failed
09:33:29 T:3068 M:866562048  NOTICE: INFO: onInit
09:33:29 T:3068 M:866549760  NOTICE: INFO: XBOX detected
09:33:29 T:2568 M:866525184  NOTICE: INFO: File Hash: [IOError]
09:33:29 T:3068 M:866574336  NOTICE: INFO: Search by hash and name knowing-h.mkv
09:33:29 T:3068 M:866504704  NOTICE: ERROR: Error! search_subtitles:[Errno 0] Error: 'rar://D:\\Film\\Knowing.720p.BluRay.x264-HUBRIS\\knowing-h.rar/knowing-h.mkv'
09:33:54 T:3456 M:875094016  NOTICE: CDVDPlayer::CloseFile()



- amet - 2010-03-21

uno Wrote:Here is the log snippet. I will try the files from your link, I am running XBMC r28256.

please use pastebin site in the future for logs, as for the link I gave you , its just to check on the progress . that will not work with any versions of xbmc Smile


- uno - 2010-03-21

I noticed that Smile
Will use pastebin in the future.