XBMC Community Forum
[dev] CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: [dev] CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) (/showthread.php?tid=119865)



- mcheng89 - 2012-02-19 20:57

LehighBri Wrote:I switched the self.log to print statements in EPGWindow.py but no luck. The XBMC log file still doesn't show any onAction prompts. No rush to look into this. Keep me posted once you're back and get more time and I'm happy to keep playing around with this depending on what you recommend.

EDIT: Looks like PseudoTV has this issue too
Could be related to this: http://forum.xbmc.org/showthread.php?tid=105590
I see that key in your original log with the file permission error: http://pastebin.com/vbHFrgBj
EDIT2: Try that: http://www.mediafire.com/?rd92c9hhis7iv67 Smile


- uspino - 2012-02-19 21:30

Run into an issue where suddenly every client seems to be buffering every couple of seconds. Looking at the running processes, it looks like VLC is not consuming too much CPU... any suggestion?

EDIT: A reboot on the server side seems to have solved the issue. Video looks wonderful at 720, 4000
EDIT 2: Spoke too soon, it happend again. Maybe we should give higher priority to VLC process?


- mcheng89 - 2012-02-19 22:15

uspino Wrote:Run into an issue where suddenly every client seems to be buffering every couple of seconds. Looking at the running processes, it looks like VLC is not consuming too much CPU... any suggestion?

EDIT: A reboot on the server side seems to have solved the issue. Video looks wonderful at 720, 4000
EDIT 2: Spoke too soon, it happend again. Maybe we should give higher priority to VLC process?

When does it happen? Immediately after starting a video?
I should have vlc create a log file.


- uspino - 2012-02-19 22:26

A few minutes after the stream starts. It looks like VLC stops encoding for some reason...


- mcheng89 - 2012-02-19 22:40

uspino Wrote:A few minutes after the stream starts. It looks like VLC stops encoding for some reason...

Added VLC logging. Let see if anything interesting comes up.
http://www.mediafire.com/?e0y375b7p5b8ac3

I cant reproduce the issue on my computers.


- uspino - 2012-02-19 22:51

mcheng89 Wrote:Added VLC logging. Let see if anything interesting comes up.
http://www.mediafire.com/?e0y375b7p5b8ac3

I cant reproduce the issue on my computers.

So if I can reproduce it, what file would you need to look at?


- mcheng89 - 2012-02-19 23:02

uspino Wrote:So if I can reproduce it, what file would you need to look at?

Not sure... maybe the log will give us a clue about why vlc is stopping
log is in the logs dir


- LehighBri - 2012-02-19 23:14

mcheng89 Wrote:EDIT: Looks like PseudoTV has this issue too
Could be related to this: http://forum.xbmc.org/showthread.php?tid=105590
I see that key in your original log with the file permission error: http://pastebin.com/vbHFrgBj
EDIT2: Try that: http://www.mediafire.com/?rd92c9hhis7iv67 Smile

Great find! ACTION_NAV_BACK = 92 works! e.g. on my ATV2, I now just hit the Menu button like I would on my client PC and it prompts me "are you sure you want to leave pseudotv" and when I click yes, it takes me back to the XBMC programs menu like I would have expected.

Great work... can you incorporate this fix enhancement into your next build?


- LehighBri - 2012-02-19 23:21

Now that you added the ability to allow me to use the menu key to get back to the main menu, here are a couple other observations from running this on my ATV2:
  1. When playing back other media, if I hold down the center/select button for a second or two, it brings up the "play controls" where I can adjust playback options etc... holding down the center/select in this addon does nothing
  2. Pressing the Stop button my apple remote on my ATV2 stops playback and brings the control back to the Programs menu, but I can't navigate around. It seems like the "focus" is not on the menu as it is when I click menu to exist and then "yes" on the "are you sure" prompt.
    UPDATE: When I'm back on the Programs menu in this situation, I simply hit menu like I would have if tv was playing and it prompts me for the "are you sure" despite nothing playing and then I click yes to get control back to allow me to navigate. Can you improve what happens in this case so when I click Stop, it truly stops playback gracefully and takes me back to the menu so I can control things without having to hit the menu button?



- mcheng89 - 2012-02-20 00:04

LehighBri Wrote:Now that you added the ability to allow me to use the menu key to get back to the main menu, here are a couple other observations from running this on my ATV2:
  1. When playing back other media, if I hold down the center/select button for a second or two, it brings up the "play controls" where I can adjust playback options etc... holding down the center/select in this addon does nothing
  2. Pressing the Stop button my apple remote on my ATV2 stops playback and brings the control back to the Programs menu, but I can't navigate around. It seems like the "focus" is not on the menu as it is when I click menu to exist and then "yes" on the "are you sure" prompt.
    UPDATE: When I'm back on the Programs menu in this situation, I simply hit menu like I would have if tv was playing and it prompts me for the "are you sure" despite nothing playing and then I click yes to get control back to allow me to navigate. Can you improve what happens in this case so when I click Stop, it truly stops playback gracefully and takes me back to the menu so I can control things without having to hit the menu button?

Not home, but:

1. I actually have that key disabled. Will put it in later.

2. Known issue on all systems. I'll fix this in next release too