Kodi Community Forum
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) (/showthread.php?tid=282157)



RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Kanipek - 2017-03-22

(2017-03-22, 21:01)primaeval Wrote: I'm the same as most devs. Love coding. Hate documenting. Wink
There are some readme help files in the addon folder. The changelog is useful.
If you do a Search in this thread for the full text of the Setting I usually explain it in a post about a new version with that feature.

The addon is quite complicated because people keep asking for extra features and I keep adding them.
I don't expect there will be too much added to this now. Just bug fixes and minor features.
I've lost my enthusiasm for it after the episode a couple of months ago.

What is an example of a channel logo it couldn't find?
What is the channel called and what is the filename of the logo?

I get it. Last thing is always the documentation. I see only 1 read me about setting the paths.

I assume you mean when the thread got removed. Bad times. I understand the reasoning though.
Don't let that discourage you.

Logos - I have then all named for how the channels are in NextPVR So AMC HD is AMC HD.png etc. I pointed the add-on to that folder but like I said it auto populated maybe 5.

I love this add-on but setting it up was hard. So hard that I made a copy of it when I finished and copied that to my Android/Windows clients(after installing on them) - fortunately that worked.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2017-03-22

(2017-03-22, 21:36)Kanipek Wrote: Logos - I have then all named for how the channels are in NextPVR So AMC HD is AMC HD.png etc. I pointed the add-on to that folder but like I said it auto populated maybe 5.

I'm surprised the logos didn't match. The code does a lowercase match with spaces ignored.
https://github.com/primaeval/script.tvguide.fullscreen/blob/master/source.py#L1993

If the logos are in a URL folder it changes spaces to %20 which might be the problem.
https://github.com/primaeval/script.tvguide.fullscreen/blob/master/source.py#L1983


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - FXB78 - 2017-03-22

Spaces in logo file names work fine for me using Windows, you have to make sure your logos match the names in the xmltv data. Don't know about other O/S though.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Kanipek - 2017-03-22

(2017-03-22, 21:52)primaeval Wrote: I'm surprised the logos didn't match. The code does a lowercase match with spaces ignored.
https://github.com/primaeval/script.tvguide.fullscreen/blob/master/source.py#L1993

If the logos are in a URL folder it changes spaces to %20 which might be the problem.
https://github.com/primaeval/script.tvguide.fullscreen/blob/master/source.py#L1983

lowercase match? Case ignored or required?

Logos are in a local folder.

How do you stop a recording? I can start one with 8 from the main EPG window. 9 does not stop it. 8 again starts a new copy of the same stream or a new stream if I select a different
channel.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Hinkel - 2017-03-22

(2017-03-21, 20:23)MikeKL Wrote: @Hinkel, @primaeval

Regarding "setup streams did not load the contents anymore" this issue 1st appeared for me (and been there ever since in nightly's) between Krypton #1212b & #1213. (LibreELEC Testbuilds for RPi2)

LibreELEC Testbuilds for RPi2 (including above) can be found here

I first recorded issue in this thread here but once we established it was "Krypton to Leia" nightly build related, I realized fix would probably have to wait until others moved to Leia builds and started to mention same issue/problem.

----edit----

I found additional more recent post in this thread with additional details and logs that you responded to with thoughts at time here primaeval

Additionally a debug log after re-boot of (Leia build #0320) rpi2 and quick access into tvguide and then a context selection of a channel to attempt to view/modify stream selection setup via addons etc

Hope information is useful/helpful (and appreciate you told me already Blush)

@primaeval, I sent you (pm) log file.
@MileKL, Thanks. I'll join you in this struggle.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2017-03-22

(2017-03-22, 22:28)Hinkel Wrote:
(2017-03-21, 20:23)MikeKL Wrote: @Hinkel, @primaeval

Regarding "setup streams did not load the contents anymore" this issue 1st appeared for me (and been there ever since in nightly's) between Krypton #1212b & #1213. (LibreELEC Testbuilds for RPi2)

LibreELEC Testbuilds for RPi2 (including above) can be found here

I first recorded issue in this thread here but once we established it was "Krypton to Leia" nightly build related, I realized fix would probably have to wait until others moved to Leia builds and started to mention same issue/problem.

----edit----

I found additional more recent post in this thread with additional details and logs that you responded to with thoughts at time here primaeval

Additionally a debug log after re-boot of (Leia build #0320) rpi2 and quick access into tvguide and then a context selection of a channel to attempt to view/modify stream selection setup via addons etc

Hope information is useful/helpful (and appreciate you told me already Blush)

@primaeval, I sent you (pm) log file.
@MileKL, Thanks. I'll join you in this struggle.

I've been trying to build Kodi all day so I can find out why it crashes. Some of the documentation is a bit out of date so it's hard going. I'll let you know if I get anywhere.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2017-03-22

(2017-03-22, 22:17)Kanipek Wrote:
(2017-03-22, 21:52)primaeval Wrote: I'm surprised the logos didn't match. The code does a lowercase match with spaces ignored.
https://github.com/primaeval/script.tvguide.fullscreen/blob/master/source.py#L1993

If the logos are in a URL folder it changes spaces to %20 which might be the problem.
https://github.com/primaeval/script.tvguide.fullscreen/blob/master/source.py#L1983

lowercase match? Case ignored or required?

Logos are in a local folder.

How do you stop a recording? I can start one with 8 from the main EPG window. 9 does not stop it. 8 again starts a new copy of the same stream or a new stream if I select a different
channel.

Case ignored.

What OS are you trying to stop recording on?
If it is Windows it trys to run
Code:
taskill /f /im ffmpeg.exe
or Linux
Code:
pkill -2 ffmpeg

Note that it will try to kill all ffmpegs.
This is not a robust recording tool but it might help if you want to quickly capture something on the telly.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Kanipek - 2017-03-23

Case ignored.

What OS are you trying to stop recording on?
If it is Windows it trys to run
Code:
taskill /f /im ffmpeg.exe
or Linux
Code:
pkill -2 ffmpeg

Note that it will try to kill all ffmpegs.
This is not a robust recording tool but it might help if you want to quickly capture something on the telly.

Is it possible to link the recording back to NextPVR? Since it's already configured to use those channels. Is that a possibility?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2017-03-23

(2017-03-23, 00:08)Kanipek Wrote: Is it possible to link the recording back to NextPVR? Since it's already configured to use those channels. Is that a possibility?

If NextPVR just dumps its recordings in a folder you should be able to set the same AutoPlayWith folder for the guide.
If that works, let me know if you want the name of the recordings to be changed.
If it needs messing around with custom protocols in a networked database, you'll have to do it yourself.

Another thing to consider is that you can use other PVR backends to mix and match TV Capture hardware and IPTV streams. I use TVHeadend sometimes. It can be a bit tricky to set up though.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2017-03-23

@Hinkel, @MikeKL I think I've got a Leia fix. Could you test it out for me. It's in the leia branch of my repo.
https://github.com/primaeval/script.tvguide.fullscreen/tree/leia

I haven't worked out how to set up my repo for multiple Kodi versions of the same addon yet. Does anyone know how to do it?

The PIL image library causes Kodi crashes in Leia so I've reduced the need for it. Don't use the LogoDB functions in Leia or it will probably crash.

The Stream Setup issue should also be fixed. They have taken out StringCompare and replaced it with String.IsEqual. It would have been nice to have it left in for a while longer.
That is going to affect all the TV Guide derivatives. If you are a tv guide dev the fix is here:
https://github.com/primaeval/script.tvguide.fullscreen/commit/437571cfee7595ff949bd74a8e0f31d6bceaae3e


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Kanipek - 2017-03-23

Is there a way/setting to change the length of the recordings?

I am getting a series of files each 6 minutes 41 seconds long.

I don't know if this is an add-on, ffmpeg or NextPVR setting.

Thanks!


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2017-03-23

(2017-03-23, 18:49)Kanipek Wrote: Is there a way/setting to change the length of the recordings?

I am getting a series of files each 6 minutes 41 seconds long.

I don't know if this is an add-on, ffmpeg or NextPVR setting.

Thanks!

That sounds like about the size of a transport stream segment. I would guess it is something to do with NextPVR. ffmpeg is pretty good at recording.
Usuauly streams resolve to m3u playlists with lots of ts segments of about 8 minutes each. Something is probably recording each one instead of joining them back together.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - MikeKL - 2017-03-23

(2017-03-23, 18:42)primaeval Wrote: @Hinkel, @MikeKL I think I've got a Leia fix. Could you test it out for me. It's in the leia branch of my repo.
https://github.com/primaeval/script.tvguide.fullscreen/tree/leia
@primaeval
Installed latest leia branch version from git (over top of 0.0.319) and with a quick test issue appears to be fully resolved for me on rPi2 (Panels displaying addons and channels and stream types provided by addon) CoolCoolCool

Image

Image

Image

----edit----

Just installed latest TV Guide Fullscreen build on two Win10 PC's and accessed TV guide EPG, assigned and watched a channel without crashing kodi. CoolCool Great News!! (Running Kodi Krypton 32 bit 2017-Mar-20 from http://mirrors.kodi.tv/nightlies/win32/Krypton/ )


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Kanipek - 2017-03-23

(2017-03-23, 18:58)primaeval Wrote: That sounds like about the size of a transport stream segment. I would guess it is something to do with NextPVR. ffmpeg is pretty good at recording.
Usuauly streams resolve to m3u playlists with lots of ts segments of about 8 minutes each. Something is probably recording each one instead of joining them back together.

Yeah I think I got it worked out. It is on the NextPVR end. Either switching to "EPG Based" in Live TV Buffer or a registry entry. Still testing it out.

Edit:
It is a registry setting in NextPVR:

The buffer is controlled by (Win 7 x64)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NPVR\SlipSeconds = xxxx (decimal DWORD)[Seconds]

Just FYI in case anyone is having the same issue.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Hinkel - 2017-03-23

(2017-03-23, 18:42)primaeval Wrote: @Hinkel, @MikeKL I think I've got a Leia fix. Could you test it out for me. It's in the leia branch of my repo.
https://github.com/primaeval/script.tvguide.fullscreen/tree/leia

I haven't worked out how to set up my repo for multiple Kodi versions of the same addon yet. Does anyone know how to do it?

The PIL image library causes Kodi crashes in Leia so I've reduced the need for it. Don't use the LogoDB functions in Leia or it will probably crash.

The Stream Setup issue should also be fixed. They have taken out StringCompare and replaced it with String.IsEqual. It would have been nice to have it left in for a while longer.
That is going to affect all the TV Guide derivatives. If you are a tv guide dev the fix is here:
https://github.com/primaeval/script.tvguide.fullscreen/commit/437571cfee7595ff949bd74a8e0f31d6bceaae3e

@primaeval, its working fine.
Thank you very much.