Piccoli fx
This commit is contained in:
+8
-5
@@ -95,11 +95,14 @@ def search(channel, item, texto):
|
|||||||
|
|
||||||
def dbg():
|
def dbg():
|
||||||
if config.dev_mode():
|
if config.dev_mode():
|
||||||
import web_pdb
|
try:
|
||||||
if not web_pdb.WebPdb.active_instance:
|
import web_pdb
|
||||||
import webbrowser
|
if not web_pdb.WebPdb.active_instance:
|
||||||
webbrowser.open('http://127.0.0.1:5555')
|
import webbrowser
|
||||||
web_pdb.set_trace()
|
webbrowser.open('http://127.0.0.1:5555')
|
||||||
|
web_pdb.set_trace()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def regexDbg(item, patron, headers, data=''):
|
def regexDbg(item, patron, headers, data=''):
|
||||||
|
|||||||
@@ -327,6 +327,7 @@ def get_episodes(item):
|
|||||||
head_nfo, item_nfo = videolibrarytools.read_nfo(item.nfo)
|
head_nfo, item_nfo = videolibrarytools.read_nfo(item.nfo)
|
||||||
|
|
||||||
# Create an item in the list for each strm found
|
# Create an item in the list for each strm found
|
||||||
|
from core.support import dbg;dbg()
|
||||||
for i in ficheros:
|
for i in ficheros:
|
||||||
ext = i.split('.')[-1]
|
ext = i.split('.')[-1]
|
||||||
if ext not in ['json','nfo']:
|
if ext not in ['json','nfo']:
|
||||||
@@ -344,7 +345,7 @@ def get_episodes(item):
|
|||||||
head_nfo, epi = videolibrarytools.read_nfo(nfo_path)
|
head_nfo, epi = videolibrarytools.read_nfo(nfo_path)
|
||||||
|
|
||||||
# Set the chapter title if possible
|
# Set the chapter title if possible
|
||||||
if epi.contentTitle:
|
if epi.contentTitle and epi.contentTitle != epi.fulltitle:
|
||||||
title_episodie = epi.contentTitle.strip()
|
title_episodie = epi.contentTitle.strip()
|
||||||
else:
|
else:
|
||||||
title_episodie = config.get_localized_string(60031) % (epi.contentSeason, str(epi.contentEpisodeNumber).zfill(2))
|
title_episodie = config.get_localized_string(60031) % (epi.contentSeason, str(epi.contentEpisodeNumber).zfill(2))
|
||||||
|
|||||||
Reference in New Issue
Block a user