[OLD/CLOSED] PseudoTV Live - Set-Top box solution
Hi Luna,

That would be awesome, sure would make my life easier Smile. I will say again though that I'm sure the video thumbnail stuff might be a bit to hacky for you and I totally understand that, but maybe it will give you some insight on a better method.

Blip.TV RSS Feed Description Fix (All changes base on is based on 0.4.7):
Original ChannelList.py Starting at line 2620
PHP Code:
if not '<p>' in feed.entries[i].summary_detail.value:
    
epdesc feed.entries[i]['summary_detail']['value']
    
headseptail epdesc.partition('<div class="feedflare">')
    
epdesc head
else:
    
epdesc feed.entries[i]['subtitle']

if 
epdesc == '':
    
epdesc eptitle
    
try:
    
epdesc = (self.trim(epdesc350'...'))
except Exception,e:
    
self.log("epdesc Trim failed" str(e))
    
epdesc = (epdesc[:350]) 

Change:
PHP Code:
if not '<p>' in feed.entries[i].summary_detail.value:
    
epdesc feed.entries[i]['summary_detail']['value']
    
headseptail epdesc.partition('<div class="feedflare">')
    
epdesc head
else:
    
epdesc feed.entries[i]['subtitle']

if 
epdesc == '':
    
epdesc feed.entries[i]['blip_puredescription']

if 
epdesc == '':
    
epdesc eptitle
    
try:
    
epdesc uni(self.trim(epdesc.replace('\n''').replace('<br />''\n').replace('&apos;','').replace('&quot;','"'), 500'...'))
except Exception,e:
    
self.log("epdesc Trim failed" str(e))
    
epdesc = (epdesc[:350]) 

Time Fix:
Original ChannelList.py Line 2643
PHP Code:
try:
    
runtimex feed.entries[i]['itunes_duration']
except Exception,e:
    
runtimex 1350
    pass 
Change:
PHP Code:
try:
    
runtimex feed.entries[i]['itunes_duration']
except Exception,e:
    
runtimex ''
    
pass

try:
    if 
runtimex == '':
    
runtimex feed.entries[i]['blip_runtime']
except Exception,e:
    
runtimex ''
    
pass  

if runtimex == '':
    
runtimex 1350 

Video Thumbnail "fix"
Original ChannelList.py Line 2702
PHP Code:
tmpstr str(duration) + ',' eptitle "//" "RSS - " showtitle "//" epdesc "//" genre "////" LiveID '\n' url 

Change:
PHP Code:
tmpstr str(duration) + ',' eptitle "//" "RSS - " showtitle "//" epdesc "//" genre "//" thumburl "////" LiveID '\n' url 

Original Artdownloader.py Line 248
PHP Code:
if mediapath[0:15] == 'plugin://plugin'

Change
PHP Code:
if type.replace('////tvshow','')[-4:] in ('.jpg','.png'):
    
setImage 'http://' type.replace('////tvshow','')
elif mediapath[0:15] == 'plugin://plugin'

Original List 565:
PHP Code:
if line[0:7] == '#EXTINF':

try:
    
TV_liveid = (line.split('tvshow|')[1])
    
TV_liveid =  'tvshow|' TV_liveid
    type 
= (TV_liveid.split('|'))[0]
    
id = (TV_liveid.split('|'))[1]
except Exception,e:
    
MO_liveid line.split('movie|')[1]
    
MO_liveid 'movie|' MO_liveid
    type 
MO_liveid.split('|')[0]
    
id MO_liveid.split('|')[1]
except:
    
pass 

Change:
PHP Code:
if line[0:7] == '#EXTINF':
try:
    
TV_liveid = (line.split('tvshow|')[1])
    
TV_liveid =  'tvshow|' TV_liveid
    type 
= (TV_liveid.split('|'))[0]
    
id = (TV_liveid.split('|'))[1]
except Exception,e:
    
MO_liveid line.split('movie|')[1]
    
MO_liveid 'movie|' MO_liveid
    type 
MO_liveid.split('|')[0]
    
id MO_liveid.split('|')[1]
except:
    
pass

try:
    
mpath line.split('////')[1]
except:
    
pass 

Let me know if it's just easier to send you the files with the updates in them.


Messages In This Thread
RE: [FORK] - by jcaa6479 - 2013-07-16, 23:25
Re: RE: - by bry - 2013-07-19, 08:42
Audio Muting Consistently ? - by gjwAudio - 2013-08-18, 08:25
PTVL Anomalies... - by gjwAudio - 2013-08-25, 01:15
Help Find The BAD Channel... - by gjwAudio - 2013-08-27, 02:12
RE: - by DLWhittet - 2013-10-13, 02:48
Problems with Pseudo TV Live - by media-mogul - 2013-11-07, 22:45
Setup wifi cam stream - by rebelmaveric19 - 2013-12-12, 00:54
Black Screen - by Antisthenes - 2014-03-03, 02:06
RE: [FORK] - by Lunatixz - 2014-03-25, 18:21
Re: RE: - by Lunatixz - 2014-04-26, 17:10
Update breaks autostart? - by grumpygamer - 2014-07-12, 11:48
Re: RE: Update breaks autostart? - by bry - 2014-07-12, 13:44
PseudoTV Live + HDHomerun Tutorial - by bry - 2014-07-25, 23:17
RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - by mcorcoran - 2014-09-10, 02:10
RE: [FORK] - by tromy - 2014-09-22, 19:14
Custom Live Channel - by GavinCampbell - 2014-11-01, 18:20
Options menu? - by Pendragon445 - 2014-11-02, 20:23
Prevent Stop Button - by GavinCampbell - 2014-11-13, 22:45
RE: [FORK] - by herpkektop - 2015-02-11, 11:22
RE: [FORK] - by herpkektop - 2015-02-11, 17:55
PseudoTv issue - by adamp237 - 2015-03-02, 03:41
No Guide - Android Arm - by MoRbIdBoY - 2015-03-14, 20:26
Chanel Issues - by BlueKalel - 2015-05-03, 07:23
RE: donation - by gkithes - 2015-06-11, 02:27
RE: donation - by bornagainpenguin - 2015-06-11, 03:55
Channel Sharing Feature Freezing - by RORO-RR - 2015-07-11, 18:48
Logout Mark Read Team Forum Stats Members Help
[OLD/CLOSED] PseudoTV Live - Set-Top box solution45