DonDavici / DreamPlex

Plex client for Enigma2
73 stars 50 forks source link

Dreamplex craching after update + #236 update #241

Closed bks1967 closed 10 years ago

bks1967 commented 10 years ago

Hi Don, sorry to do not answer earlier, but I had out of my home for a couple of days ( we had National holidays here ). I'd like to update ticket #236: I had a success to start Dreamplex 2.0.3. Now I have another issue. In previous version 1.09.4 I use playback type Transcoded, Use universal Transcoder: No, Transcoding quality: 10Mbps, 1080p. In this mode ( Transcoded, No, ... ) I have subtitles on my language. Now when I try to start video in this mode Dreamplex crashed. If I change Playback type to Direct Local or Streamed I have no issue with video, but I have issue with subtitles. See log file:

[SKIN] No skin to read... valign must be either top, center or bottom! [Picload] setPara max-X=195 max-Y=268 aspect_ratio=1.000000 cache=0 resize=1 bg=#002C2C39 [Picload] setPara max-X=555 max-Y=321 aspect_ratio=1.000000 cache=0 resize=1 bg=#002C2C39 <enigma.eVideoWidget; proxy of <Swig Object of type 'eVideoWidget *' at 0x2727488> > [ePNG] couldn't open /usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/skins/default/all/picreset.png [Picload] decode picture... /media/usb/dreamplex/valebo_239_poster_v2.jpg [Picload] decode picture... /media/usb/dreamplex/valebo_239_backdrop_v2.jpg action -> DP_View ok [SKIN] Parsing embedded skin <embedded-in-'Screensaver'> not pauseable. RemovePopup, id = ZapError [Picload] setPara max-X=195 max-Y=268 aspect_ratio=1.000000 cache=0 resize=1 bg=#002C2C39 [Picload] decode picture... /media/usb/dreamplex/valebo_239_poster_v2.jpg Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_View.py", line 517, in onKeyOk self.onEnter() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_View.py", line 1240, in onEnter self.session.open(DP_Player, self.listViewList, currentIndex, self.libraryName, self.autoPlayMode, self.resumeMode, self.playbackMode, self.whatPoster) File "/usr/lib/enigma2/python/mytest.py", line 307, in open self.execBegin() File "/usr/lib/enigma2/python/mytest.py", line 205, in execBegin c.execBegin() File "/usr/lib/enigma2/python/Screens/Screen.py", line 82, in execBegin File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_Player.py", line 203, in playMedia self.selectMedia(self.count, self.options, self.server) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_Player.py", line 244, in selectMedia self.setSelectedMedia() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_Player.py", line 264, in setSelectedMedia self.buildPlayerData(mediaFileUrl) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_Player.py", line 276, in buildPlayerData self.playerData[self.currentIndex] = Singleton().getPlexInstance().playLibraryMedia(self.media_id, mediaFileUrl) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_PlexLibrary.py", line 1849, in playLibraryMedia playurl = self.transcode(myId,url) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamPlex/DP_PlexLibrary.py", line 2491, in transcode resp = urlopen(req) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen File "/usr/lib/python2.7/urllib2.py", line 406, in open File "/usr/lib/python2.7/urllib2.py", line 519, in http_response File "/usr/lib/python2.7/urllib2.py", line 444, in error File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default urllib2.HTTPError: HTTP Error 401: Unauthorized (PyObject_CallObject(<bound method HelpableActionMap.action of <Components.ActionMap.HelpableActionMap instance at 0x271b0a8>>,('DP_View', 'ok')) failed) getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??) getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??) getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??) ]]>

Regards, Bozhidar

DonDavici commented 10 years ago

urllib2.HTTPError: HTTP Error 401: Unauthorized

this error means that you are using a myPlex connection or you have activated local auth. in both cases the authentication fails. please update tokens in settings

bks1967 commented 10 years ago

Hi, I update tokens in settings. But when I use playback type Transcoded, Use Universal Transcoder: No, I still have green screen and get the same message. Only in this combination I get this message. From other hand, I found solution to get subtitles: I use Playback type Transcoded, Use Universal Transcoder: Yes. Only inconvenience is that I have to switch manually subtitles on every single movie...and I have few hundreds movies in the Plex. Is there a way subtitles to be switched somewhere in Options only once?

DonDavici commented 10 years ago

why do you use the old transcoder? this will be removed soon from plex directly!

DonDavici commented 10 years ago

oh. got it. you wrote that already. i ll have a look how to achive that

DonDavici commented 10 years ago

did you try in the server settings of plex itself under languages to enable subtitle mode "always enabled" unbenannt

bks1967 commented 10 years ago

Hi Don, in fact this is shared server and I have no option to enable/disable subtitles from Plex itself. Maybe I have to ask person who shares the server to do that. Anyway, I can do that on Dreamplex on my Xtrend using TEXT button. This is a good solution, because for 3D movies I have option to choose dynamic subs instead of regular one. Thanks for support and keep moving forward. Great work!