mmdl / sd-xbmc

Automatically exported from code.google.com/p/sd-xbmc
0 stars 0 forks source link

Problem z Video.polishtv.live #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Gdy próbuję włączyć Telewizję WEEB.TV lub inne z tej kategorii wywala mi 
błąd skryptu 
Używam XBMC Eden 11.

Log Błędu to 

22:22:46 T:7344  NOTICE: -->Python Interpreter Initialized<--
22:22:47 T:7344   ERROR: 
C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\resources\
lib\crypto\hash\sha1Hash.py:9: DeprecationWarning: the sha module is 
deprecated; use the hashlib module instead
                                              import sha
22:22:47 T:7344   ERROR: 
C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\resources\
lib\crypto\hash\md5Hash.py:5: DeprecationWarning: the md5 module is deprecated; 
use hashlib instead
                                              import md5
22:22:47 T:7344  NOTICE: CommonFunctions-1.5.1
22:22:47 T:7344  NOTICE: [Polish Live TV 1] Starting Polish Live TV
22:22:47 T:7344  NOTICE: action: None, title: None
22:22:48 T:7344   ERROR: Error Type: <type 'exceptions.WindowsError'>
22:22:48 T:7344   ERROR: Error Contents: [Error 5] Odmowa dost�pu: 
'Noneweebtv'
22:22:48 T:7344   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\default.py", line 246, in <module>
                                                init.showListOptions()
                                              File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\default.py", line 89, in showListOptions
                                                tv.handleService()
                                              File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\hosts\weebtv.py", line 495, in handleService
                                                show.ChannelsList(apiUrl + "&option=" + sortopt)
                                              File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\hosts\weebtv.py", line 138, in ChannelsList
                                                self.addChannel('weebtv', str(action), cid, title, image, desc, tags, user, name)
                                              File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\hosts\weebtv.py", line 161, in addChannel
                                                self.common.makeSTRMFile(service, title, {'action': action, 'cid' : cid} )
                                              File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.video.polishtv.live\resources\lib\pCommon.py", line 293, in makeSTRMFile
                                                os.mkdir(strmdir)
                                            WindowsError: [Error 5] Odmowa dost�pu: 'Noneweebtv'
22:22:48 T:7880   ERROR: XFILE::CDirectory::GetDirectory - Error getting 
plugin://plugin.video.polishtv.live/?mode=100
22:22:48 T:7880   ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.polishtv.live/?mode=100) 
failed

Original issue reported on code.google.com by igor.firestone on 7 Mar 2013 at 9:40

GoogleCodeExporter commented 8 years ago
Nie wiem jakim cudem nazwę katalogu do przechowywania plików strm masz 
"Noneweebtv". Zmień to w ustawieniach.

Original comment by ples...@gmail.com on 7 Mar 2013 at 10:51

GoogleCodeExporter commented 8 years ago
Ale gdzie to mam zmienić ? W którym miejscu jest opcja zmiany katalogu.

Original comment by igor.firestone on 8 Mar 2013 at 8:42

GoogleCodeExporter commented 8 years ago
@plesken - to chyba ja tu troche namotalem z funkcja do tworzeni katalogow ze 
streamami:

def makeSTRMFile(self, service, title, params = {}):
        strmdir = ptv.getSetting('default_strm') + service
        p =''
        if strmdir != service:
            if not os.path.isdir(strmdir):
               os.mkdir(strmdir)

chyba to powinno wygladac tak:
    def makeSTRMFile(self, service, title, params = {}):
        p =''
        if ptv.getSetting('default_strm') != 'None':
            strmdir = ptv.getSetting('default_strm') + service
            if not os.path.isdir(strmdir):
               os.mkdir(strmdir)

Original comment by jatrn69 on 8 Mar 2013 at 12:01

GoogleCodeExporter commented 8 years ago
Czyli panowie co , mam bawić sie w edycje plików .py i zmieniać kod ? czy 
dacie rade to naprawić od strony serwera

Original comment by igor.firestone on 8 Mar 2013 at 6:49

GoogleCodeExporter commented 8 years ago
Wypuscimy v 0.5.2 

Original comment by jatrn69 on 8 Mar 2013 at 7:13

GoogleCodeExporter commented 8 years ago
w którym pliku .py trzeba to zmienić ?

Original comment by mic...@prudnik.org on 9 Mar 2013 at 12:52

GoogleCodeExporter commented 8 years ago
Kolego, napisali że wydadzą v0.5.2 znaczy że my raczej nie zmienimy tego 
sami oni bedą musieli to zrobić. 

Original comment by igor.firestone on 9 Mar 2013 at 12:59

GoogleCodeExporter commented 8 years ago
resources/lib/pCommon.py 

Original comment by jatrn69 on 9 Mar 2013 at 12:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
potwierdzam, po zmianie wszystko działa :) dzięki @jatrn69

Original comment by mic...@prudnik.org on 9 Mar 2013 at 1:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
PO zmianie u mnie wtyczka PolishTV w ogóle nie działa . 
resources/lib/pcommon.py 

" def makeSTRMFile(self, service, title, params = {}):
        p =''
        if ptv.getSetting('default_strm') != 'None':
            strmdir = ptv.getSetting('default_strm') + service
            if not os.path.isdir(strmdir):
               os.mkdir(strmdir)
" 

Original comment by igor.firestone on 9 Mar 2013 at 1:24

GoogleCodeExporter commented 8 years ago
@igor.firestone    podmień i spróbuj, u mnie działa bez problemu - 
http://www7.zippyshare.com/v/46589134/file.html

Original comment by mic...@prudnik.org on 9 Mar 2013 at 1:41

GoogleCodeExporter commented 8 years ago
Może to ja coś popierdzyliłem i źle podmieniłem kod bo Twój plik 
zadziałał ;) dzieki wielkie ! :)) 

Original comment by igor.firestone on 9 Mar 2013 at 1:49

GoogleCodeExporter commented 8 years ago
wtyczka uaktulaniona do 0.5.2 z poprawionym bledem w generowniu plikow STRM.

zamykam issue

Original comment by jatrn69 on 10 Mar 2013 at 12:38