BUG - Live TV opens with popup menu

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
iAmRenzo Offline
Junior Member
Posts: 16
Joined: Mar 2013
Reputation: 0
Post: #1
When I select the Live TV option from the main menu, the Live TV option is starting in default channel view. But the problem is most of the time the popup menu is opened (where I can select channels, radio, recordings, epg, etc).
Is there a way to prevent this?
find quote
pecinko Offline
Donor
Posts: 3,820
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #2
(2014-02-12 20:48)iAmRenzo Wrote:  When I select the Live TV option from the main menu, the Live TV option is starting in default channel view. But the problem is most of the time the popup menu is opened (where I can select channels, radio, recordings, epg, etc).
Is there a way to prevent this?

Frankly, I don't know.

My skins:

Amber
Quartz

find quote
queeup Offline
Posting Freak
Posts: 763
Joined: Feb 2009
Reputation: 16
Post: #3
I asked that before: https://github.com/pecinko/quartz/issues/19
find quote
queeup Offline
Posting Freak
Posts: 763
Joined: Feb 2009
Reputation: 16
Post: #4
I found the way.
Code:
diff --git a/1080i/Home.xml b/1080i/Home.xml
index 07e720e..a8697cd 100644
--- a/1080i/Home.xml
+++ b/1080i/Home.xml
@@ -355,7 +355,7 @@
           <item id="0" description="LiveTV">
             <visible>System.GetBool(pvrmanager.enabled)</visible>
             <label>31502</label>
-            <onclick>ActivateWindow(PVR)</onclick>
+            <onclick>XBMC.ActivateWindowAndFocus(PVR, 11,0)</onclick>
           </item>
           <item id="1" description="Weather">
             <visible>!Skin.HasSetting(Addons1)</visible></onclick>
find quote
iAmRenzo Offline
Junior Member
Posts: 16
Joined: Mar 2013
Reputation: 0
Post: #5
(2014-02-13 15:06)queeup Wrote:  I found the way.
Code:
diff --git a/1080i/Home.xml b/1080i/Home.xml
index 07e720e..a8697cd 100644
--- a/1080i/Home.xml
+++ b/1080i/Home.xml
@@ -355,7 +355,7 @@
           <item id="0" description="LiveTV">
             <visible>System.GetBool(pvrmanager.enabled)</visible>
             <label>31502</label>
-            <onclick>ActivateWindow(PVR)</onclick>
+            <onclick>XBMC.ActivateWindowAndFocus(PVR, 11,0)</onclick>
           </item>
           <item id="1" description="Weather">
             <visible>!Skin.HasSetting(Addons1)</visible></onclick>
Sounds good. But I am not really sure what to do with this code. Do I need to change something in the xml-files or download something?
find quote
queeup Offline
Posting Freak
Posts: 763
Joined: Feb 2009
Reputation: 16
Post: #6
Yes you have to change one line on xml file.
In quartz skin directory (skin.quartz) change 1080i/Home.xml file line 358:
Code:
<onclick>ActivateWindow(PVR)</onclick>
to
Code:
<onclick>XBMC.ActivateWindowAndFocus(PVR, 11,0)</onclick>

then reload skin or restart XBMC.
find quote
iAmRenzo Offline
Junior Member
Posts: 16
Joined: Mar 2013
Reputation: 0
Post: #7
(2014-02-14 00:51)queeup Wrote:  Yes you have to change one line on xml file.
In quartz skin directory (skin.quartz) change 1080i/Home.xml file line 358:
Code:
<onclick>ActivateWindow(PVR)</onclick>
to
Code:
<onclick>XBMC.ActivateWindowAndFocus(PVR, 11,0)</onclick>

then reload skin or restart XBMC.
I am using the default skin of the beta of XBMC. It starts tv in a windows. Therefor, is it possible to start a channel instead of the "nothing" option you said?
find quote