Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 196
  • 197
  • 198(current)
  • 199
  • 200
  • 201
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)
@moshoodo123

Sorry I forgot about that, try adding this on row 9.
Code:
s = re.sub(':00min$', '', s)
Reply
(2019-08-06, 18:58)M89SE Wrote: @moshoodo123

Sorry I forgot about that, try adding this on row 9.
Code:
s = re.sub(':00min$', '', s)
@M89SE , thanks for your help so far, unfortunately, it still same result. below is my code after the edit.




startDelta = datetime.datetime.now() - program.startDate
        endDelta = datetime.datetime.now() - program.endDate

        s = (startDelta - endDelta)

        s = re.sub(r'^0:', '', str(s))
        s = re.sub(r':00$', 'm', str(s))
        s = re.sub(':', 'h ', str(s))
        s = re.sub(':00m$', '', s)
        matchHour = re.search(r'h\s\d+m$', s)
        matchMin = re.search(r'^0\s\dm', s)

        if matchMin:
            s = re.sub(r'^0', '', str(s))

        self.setControlLabel(self.C_MAIN_CALC_TIME_EPG, '%s' % (s))



Regards
Reply
@moshoodo123

I will need to try it out myself, I probably made some mistake. Smile
Reply
@moshoodo123

This should do the trick, made a mistake earlier adding a colon. Smile

python:
        startDelta = datetime.datetime.now() - program.startDate
        endDelta = datetime.datetime.now() - program.endDate

        s = (startDelta - endDelta)

        s = re.sub(r'^0:', '', str(s))
        s = re.sub(r':00$', 'min', str(s))
        s = re.sub(':', 'h ', str(s))  #<--- Added a space after "h".
        s = re.sub(r'00min$', '', str(s)) #<--- Removed 00min if single hour.
        matchHour = re.search(r'h\s\d+min$', s) #<--- Added a "\s" after "h".
        matchMin = re.search(r'^0\s\dmin', s) #<--- Added a "\s" after "0".

        #if matchHour: #<--- Commented this with a "#".
            #s = re.sub(r'min$', '', str(s)) #<--- Commented this with a "#".

        if matchMin: #<--- Changed from "elif" to "if".
            s = re.sub(r'^0', '', str(s))

        self.setControlLabel(self.C_MAIN_CALC_TIME_EPG, '%s' % (s))
Reply
(2019-08-07, 22:05)M89SE Wrote: @moshoodo123

This should do the trick, made a mistake earlier adding a colon. Smile

python:
        startDelta = datetime.datetime.now() - program.startDate
        endDelta = datetime.datetime.now() - program.endDate

        s = (startDelta - endDelta)

        s = re.sub(r'^0:', '', str(s))
        s = re.sub(r':00$', 'min', str(s))
        s = re.sub(':', 'h ', str(s))  #<--- Added a space after "h".
        s = re.sub(r'00min$', '', str(s)) #<--- Removed 00min if single hour.
        matchHour = re.search(r'h\s\d+min$', s) #<--- Added a "\s" after "h".
        matchMin = re.search(r'^0\s\dmin', s) #<--- Added a "\s" after "0".

        #if matchHour: #<--- Commented this with a "#".
            #s = re.sub(r'min$', '', str(s)) #<--- Commented this with a "#".

        if matchMin: #<--- Changed from "elif" to "if".
            s = re.sub(r'^0', '', str(s))

        self.setControlLabel(self.C_MAIN_CALC_TIME_EPG, '%s' % (s))
@M89SE , you are a wonderful person. you just saved my life lol...  that did the trick.


Thanks s lot
Reply
(2019-05-23, 20:36)Cangeoboy Wrote:
(2019-05-22, 15:32)francismm Wrote: How do i set this up?
I keep getting "oops, sorry about that". It was not possible to load program data, because the settings are invalid.
I used zip repository.primaeval-0.0.2
I load version 0.17.445

I don't know what i need to put on the settings considering there is no provision for username or password.
This is on Kodi 17.6 both on Windows and Android.
I sometimes get this error if I have a channel selected with foreign characters in its epg.  See my post above.  If you are able to remove that channel from your xmltv file then it may solve this problem.  

Probably need to add utf-8 encoding to the parser in TVGF, I think that should fix the problem of reading foreign channels.
Reply
(2019-08-08, 09:35)moshoodo123 Wrote:
(2019-08-07, 22:05)M89SE Wrote: @moshoodo123

This should do the trick, made a mistake earlier adding a colon. Smile

python:
        startDelta = datetime.datetime.now() - program.startDate
        endDelta = datetime.datetime.now() - program.endDate

        s = (startDelta - endDelta)

        s = re.sub(r'^0:', '', str(s))
        s = re.sub(r':00$', 'min', str(s))
        s = re.sub(':', 'h ', str(s))  #<--- Added a space after "h".
        s = re.sub(r'00min$', '', str(s)) #<--- Removed 00min if single hour.
        matchHour = re.search(r'h\s\d+min$', s) #<--- Added a "\s" after "h".
        matchMin = re.search(r'^0\s\dmin', s) #<--- Added a "\s" after "0".

        #if matchHour: #<--- Commented this with a "#".
            #s = re.sub(r'min$', '', str(s)) #<--- Commented this with a "#".

        if matchMin: #<--- Changed from "elif" to "if".
            s = re.sub(r'^0', '', str(s))

        self.setControlLabel(self.C_MAIN_CALC_TIME_EPG, '%s' % (s))
@M89SE , you are a wonderful person. you just saved my life lol...  that did the trick.


Thanks s lot 
@moshoodo123 , are you using this script on Android box or on PC?  just asking because it works perfect on my PC  but the  timing are not correct on Android, is show like 39h  3999999999  if using on android can you please confirm.

Thanks
Reply
With the loss of tvtv.us, I redid my epg source and then did a full reset of TV Guide Fullscreen. For some reason all of my logos are gone. I have a separate folder configured with all of the logos so I know they are there.

Is there some way to force TV Guide FullScreen to reload the logos?

Thank you
Reply
(2019-08-22, 00:04)samueljones Wrote:
(2019-08-08, 09:35)moshoodo123 Wrote:
(2019-08-07, 22:05)M89SE Wrote: @moshoodo123

This should do the trick, made a mistake earlier adding a colon. Smile

python:
        startDelta = datetime.datetime.now() - program.startDate
        endDelta = datetime.datetime.now() - program.endDate

        s = (startDelta - endDelta)

        s = re.sub(r'^0:', '', str(s))
        s = re.sub(r':00$', 'min', str(s))
        s = re.sub(':', 'h ', str(s))  #<--- Added a space after "h".
        s = re.sub(r'00min$', '', str(s)) #<--- Removed 00min if single hour.
        matchHour = re.search(r'h\s\d+min$', s) #<--- Added a "\s" after "h".
        matchMin = re.search(r'^0\s\dmin', s) #<--- Added a "\s" after "0".

        #if matchHour: #<--- Commented this with a "#".
            #s = re.sub(r'min$', '', str(s)) #<--- Commented this with a "#".

        if matchMin: #<--- Changed from "elif" to "if".
            s = re.sub(r'^0', '', str(s))

        self.setControlLabel(self.C_MAIN_CALC_TIME_EPG, '%s' % (s))
@M89SE , you are a wonderful person. you just saved my life lol...  that did the trick.


Thanks s lot  
@moshoodo123 , are you using this script on Android box or on PC?  just asking because it works perfect on my PC  but the  timing are not correct on Android, is show like 39h  3999999999  if using on android can you please confirm.

Thanks 

Try this, I haven't tested it myself but may work.

python:
startDelta = datetime.datetime.now() - program.startDate
endDelta = datetime.datetime.now() - program.endDate

osAndroid = xbmc.getCondVisibility('system.platform.android')

if osAndroid is True:
    s = (endDelta - startDelta)
else:
    s = (startDelta - endDelta)

    s = re.sub(r'^0:', '', str(s))
    s = re.sub(r':00$', 'min', str(s))
    s = re.sub(':', 'h ', str(s))  #<--- Added a space after "h".
    s = re.sub(r'00min$', '', str(s)) #<--- Removed 00min if single hour.
    matchHour = re.search(r'h\s\d+min$', s) #<--- Added a "\s" after "h".
    matchMin = re.search(r'^0\s\dmin', s) #<--- Added a "\s" after "0".

    #if matchHour: #<--- Commented this with a "#".
        #s = re.sub(r'min$', '', str(s)) #<--- Commented this with a "#".

    if matchMin: #<--- Changed from "elif" to "if".
        s = re.sub(r'^0', '', str(s))

    self.setControlLabel(self.C_MAIN_CALC_TIME_EPG, '%s' % (s))
Reply
(2019-08-26, 09:55)M89SE Wrote:
(2019-08-22, 00:04)samueljones Wrote:
(2019-08-08, 09:35)moshoodo123 Wrote: @M89SE , you are a wonderful person. you just saved my life lol...  that did the trick.


Thanks s lot  
@moshoodo123 , are you using this script on Android box or on PC?  just asking because it works perfect on my PC  but the  timing are not correct on Android, is show like 39h  3999999999  if using on android can you please confirm.

Thanks  

Try this, I haven't tested it myself but may work.

python:
startDelta = datetime.datetime.now() - program.startDate
endDelta = datetime.datetime.now() - program.endDate

osAndroid = xbmc.getCondVisibility('system.platform.android')

if osAndroid is True:
    s = (endDelta - startDelta)
else:
    s = (startDelta - endDelta)

    s = re.sub(r'^0:', '', str(s))
    s = re.sub(r':00$', 'min', str(s))
    s = re.sub(':', 'h ', str(s))  #<--- Added a space after "h".
    s = re.sub(r'00min$', '', str(s)) #<--- Removed 00min if single hour.
    matchHour = re.search(r'h\s\d+min$', s) #<--- Added a "\s" after "h".
    matchMin = re.search(r'^0\s\dmin', s) #<--- Added a "\s" after "0".

    #if matchHour: #<--- Commented this with a "#".
        #s = re.sub(r'min$', '', str(s)) #<--- Commented this with a "#".

    if matchMin: #<--- Changed from "elif" to "if".
        s = re.sub(r'^0', '', str(s))

    self.setControlLabel(self.C_MAIN_CALC_TIME_EPG, '%s' % (s))
 
thanks @M89SE , i will test it and feed you back
Reply
Hi,
Firstly a preemptive thank you for any help provided, its appreciated.
Very new user of Kodi.
Just setting up the live TV section and the tv guide is fairly basic. I was wondering if this one works for Sydney Australia free to air channels and if so how would I go about setting it up?? ITs currently all running and the pause, timeshift, record etc is all working, but I would like a more detailed tv guide and one with a lot more channels per page to avoid having to scroll too much.
So....will it work for Aussie channels....and will I still have the same recording options to select and record directly out of the tv guide?
Again thank you.
Reply
(2019-09-17, 10:55)longworthdean Wrote: Hi,
Firstly a preemptive thank you for any help provided, its appreciated.
Very new user of Kodi.
Just setting up the live TV section and the tv guide is fairly basic. I was wondering if this one works for Sydney Australia free to air channels and if so how would I go about setting it up?? ITs currently all running and the pause, timeshift, record etc is all working, but I would like a more detailed tv guide and one with a lot more channels per page to avoid having to scroll too much.
So....will it work for Aussie channels....and will I still have the same recording options to select and record directly out of the tv guide?
Again thank you.

Seems the primordial one has been on a hiatus since last May. But to your question. To get TVGF to display channel / program data, you'll either have to find a provider, or learn how to install, configure and run the relatively complicated Webgrab+Plus software to generate your own XMLTV data files. Once you have either a local or remote a program data file, you can set the path to it in: Settings > Source.

To record, you need to find a copy of ffmpeg that works on your OS / device, and set its path and output folder in: Settings > Program Scheduler. You can also use Mr P's very handy IPTV Recorder Kodi addon.
Reply
Anybody know how to clear the Playlists? I've imported a couple m3u playlists in the Stream Setup screen, but would like to delete them.
Reply
(2019-09-30, 02:32)xDetoursx Wrote: Anybody know how to clear the Playlists? I've imported a couple m3u playlists in the Stream Setup screen, but would like to delete them.

 

First remove the m3u link then in settings go to reset and reset everything
Reply
Won't that also remove all linked channels, logos, channel order and categories?
Reply
  • 1
  • 196
  • 197
  • 198(current)
  • 199
  • 200
  • 201

Logout Mark Read Team Forum Stats Members Help
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)8