Kodi Community Forum
[RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - 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)
+----- Forum: PseudoTV / PseudoTV Live (https://forum.kodi.tv/forumdisplay.php?fid=231)
+----- Thread: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script (/showthread.php?tid=90738)



Skin preference - Abe Froman - 2011-05-17

Is it possible for the skin to have the video minimize to the corner with the guide below like:

http://www.laaudiofile.com/images/vip222_guide.jpg


- Jason102 - 2011-05-17

I haven't actually tried this, but they may be able to use the video tag to do that.

http://wiki.xbmc.org/index.php?title=XBMC_Skinning_Manual#Video_Control


- wimpy - 2011-05-18

two tips for future plans that i believe would rock.

a) option to have clearart/info popping up just like on tv like "next show" advertisement of what's next in line.

b) option (or keypress) to have a "Blabla currently showing on channel X" osd window

EDIT: btw thanks for the above help/info Smile


- Sranshaft - 2011-05-18

Jason102 Wrote:I haven't actually tried this, but they may be able to use the video tag to do that.

http://wiki.xbmc.org/index.php?title=XBMC_Skinning_Manual#Video_Control

I tried that in the SliK skin but when the EPG was closed there was no way to revert the video window back to full screen so I abandoned the idea. I think it'd be a great feature to add in though if it was possible. Maybe I'll have another look at it when I get a few minutes. Nod

wimpy Wrote:two tips for future plans that i believe would rock.

a) option to have clearart/info popping up just like on tv like "next show" advertisement of what's next in line.

b) option (or keypress) to have a "Blabla currently showing on channel X" osd window

Those are two things I suggested to Jason a little while ago but he was busy getting the parser / resume features working properly. Perhaps after he gets the 'scheduled show time' feature finish he might be persuaded... Wink


- DV3B - 2011-05-18

DV3B Wrote:I’ve had a little trouble getting the osd menu to display on my htpc using my harmony remote.

If anyone else experiences this I was able to get it working by editing the Globals.py file and changing ACTION_OSD =122 to ACTION_OSD =117 .


- wimpy - 2011-05-18

Thanks for the help and answers man

Another question arises. Is it a way to make custom tv channel images so that channel 1 displays 1.png, channel 2 displays 2.png etc.. on top of video playing at all time?


- Sranshaft - 2011-05-18

wimpy Wrote:Thanks for the help and answers man

Another question arises. Is it a way to make custom tv channel images so that channel 1 displays 1.png, channel 2 displays 2.png etc.. on top of video playing at all time?

Yes, just make the logo you want and name it exactly the same as the channel name. So, for example, you have a channel named Comedy Network, name the image Comedy Network.png and place it in a folder. Go to the PseudoTV settings and change the channel folder path to the path of that folder and it should work fine.


- jtucker1972 - 2011-05-18

Jason, found an issue with an open thread. Haven't been able to isolate it yet. To reproduce, exit PseudoTV using the Esc key method. It throws the exception and logs the issue with not the last thread. Exiting using the X key doesn't leave an open thread. Hopefully that will help narrow down where the issue is. Can anyone else reproduce this issue?

msg: Fatal Python error: Py_EndInterpreter: not the last thread

Update: Figured it out. After it exits you have to wait for the thread to exit completely and give back control to XBMC. If you exit and then close XBMC right away, the thread doesn't have time to finish exiting.

Update #2: Thought I figured it out, but I haven't. It is still giving me the exception even if I wait for control to return. I added the threading.enumerate() to output the remaining thread at the end of the end function and at the end of the onAction function after the self.actionSemaphore.release(). Here is the log.

18:27:35 T:4624 M:2148204544 DEBUG: script.pseudotv-TVOverlay: [<_MainThread(MainThread, started)>]
18:27:35 T:4624 M:2148204544 DEBUG: script.pseudotv-TVOverlay: onAction return
18:27:35 T:4624 M:2148204544 DEBUG: script.pseudotv-TVOverlay: [<_MainThread(MainThread, started)>]
18:27:35 T:4624 M:2148204544 DEBUG: script.pseudotv-Player: Playback stopped
18:27:35 T:4624 M:2148200448 DEBUG: script.pseudotv-TVOverlay: __init__ return
18:27:38 T:4624 M:2152443904 INFO: msg: Fatal Python error: Py_EndInterpreter: not the last thread

So based on the threading log output it's not an open timer thread or open channelListThread. Why is it throwing the error if only the MainThread is still open. Shouldn't python clean this up?


- wimpy - 2011-05-18

Image

EDIT: i mean the bottom part with information.

is there a way to hide this popping up? when i change a channel it first displays this then the other information (which i can toggle in the config).

btw: Sranshaft thanks for the above help on the channel logos Smile


- Jason102 - 2011-05-19

Thanks for the debugging help jtucker1972, I'll have to try and reproduce this and see if I can determine the cause.

Wimpy: try unchecking the "Show info when changing channels" item in the Add-on settings. Is this what you're looking for?


- wimpy - 2011-05-19

Jason102 Wrote:Wimpy: try unchecking the "Show info when changing channels" item in the Add-on settings. Is this what you're looking for?

i have that checked. but the problem is that the above osd is shown before the normal one skinned in pseudotv xml.


- Jason102 - 2011-05-19

Ah, I see what you're saying. Hmm, I imagine that it's something the skin does...display info about the new video that starts playing. What skin are you using?


- jtucker1972 - 2011-05-19

Jason102 Wrote:Ah, I see what you're saying. Hmm, I imagine that it's something the skin does...display info about the new video that starts playing. What skin are you using?

Confluence


- Jason102 - 2011-05-19

jtucker1972: Heh, wrong person. I expect the issue you're seeing is not skin related. Do you see this with my code alone or are you seeing it while rebasing my code into TV time? I tried to reproduce a grand total of 1 time this morning without success. What are the steps? Do I actually need to close XBMC after exiting PseudoTV?


Wimpy: The skin question is for you. I think you're seeing a skin feature that I'm sure I can't fix (or at least pretty sure). What skin is it?


- Pete7 - 2011-05-19

I think you have to close xbmc with the close window button 'x' in windowed mode. This is where I have problems when exiting psuedotv and then closing xbmc.