Is it possiable to move the push notification to top right
#1
Hello All,

is it possible to move the xbmc notification from the default bottom right to top right? My notifications are from sickbeard/sab
Reply
#2
by editing the skin files you can yes.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
can you prove me a example of what skin xml its listed in? iam looking at the skin xml files but all i can find is this


</control>
<control type="label" id="36348">
<textcolor>blue</textcolor>
<align>left</align>
<aligny>center</aligny>
<label>Notification</label>
<height>45</height>
<width>750</width>
<shadowcolor>black</shadowcolor>
<font>font13_title</font>
</control>
Reply
#4
Which skin are you using? I can move this to the appropriate skin support forum for you.
Reply
#5
Using default skin for raspberry pi, xbain
Reply
#6
Moved to Confluence forum.
Reply
#7
It's DialogKaiToast.xml, change <posy>646</posy>
Reply
#8
that file does not exist at all. Here is what i got

Searching for: <posy>646</posy>
Found 0 occurrence(s) in 1079 file(s)

Searching for: DialogKaiToast
Found 0 occurrence(s) in 1079 file(s)

List All:

Directory of \XBian\.xbmc\addons\plugin.xbianconfig\resources\skins

11/24/2013 01:08 PM <DIR> .
11/24/2013 01:08 PM <DIR> ..
11/24/2013 01:03 PM <DIR> Default
11/24/2013 01:08 PM 0 output.txt
11/24/2013 01:03 PM <DIR> skin.amber
11/24/2013 01:03 PM <DIR> skin.amber-xbian.mod

Directory of \XBian\.xbmc\addons\plugin.xbianconfig\resources\skins\Default

11/24/2013 01:03 PM <DIR> .
11/24/2013 01:03 PM <DIR> ..
11/24/2013 01:03 PM <DIR> 720p

Directory of \XBian\.xbmc\addons\plugin.xbianconfig\resources\skins\Default\720p

11/24/2013 01:03 PM <DIR> .
11/24/2013 01:03 PM <DIR> ..
05/17/2013 06:54 PM 3,375 DialogPackageInfo.xml
05/17/2013 06:54 PM 1,176 DialogWait.xml
10/13/2013 03:42 PM 2,683 DialogWaitBackground.xml
11/12/2013 10:18 PM 3,423 SettingsXbianDialog.template
11/18/2013 07:02 PM 28,466 SettingsXbianDialog.xml
10/11/2013 02:59 AM 8,624 SettingsXbianInfo.template
11/18/2013 08:33 PM 124,722 SettingsXbianInfo.xml
11/12/2013 10:18 PM 8,270 WizzardDialog.xml

Directory of \XBian\.xbmc\addons\plugin.xbianconfig\resources\skins\skin.amber

11/24/2013 01:03 PM <DIR> .
11/24/2013 01:03 PM <DIR> ..
11/24/2013 01:03 PM <DIR> 720p

Directory of \XBian\.xbmc\addons\plugin.xbianconfig\resources\skins\skin.amber\720p

11/24/2013 01:03 PM <DIR> .
11/24/2013 01:03 PM <DIR> ..
10/15/2013 08:02 PM 3,002 DialogPackageInfo.xml
10/15/2013 08:02 PM 902 DialogWait.xml
10/15/2013 08:02 PM 3,985 SettingsXbianInfo.template
10/15/2013 08:02 PM 149,419 SettingsXbianInfo.xml
10/15/2013 08:02 PM 1,794 welcomeDialog.xml

Directory of \XBian\.xbmc\addons\plugin.xbianconfig\resources\skins\skin.amber-xbian.mod

11/24/2013 01:03 PM <DIR> .
11/24/2013 01:03 PM <DIR> ..
11/24/2013 01:03 PM <DIR> 720p

Directory of \XBian\.xbmc\addons\plugin.xbianconfig\resources\skins\skin.amber-xbian.mod\720p

11/24/2013 01:03 PM <DIR> .
11/24/2013 01:03 PM <DIR> ..
07/01/2013 07:24 PM 3,002 DialogPackageInfo.xml
07/01/2013 07:24 PM 902 DialogWait.xml
07/01/2013 07:24 PM 3,934 SettingsXbianInfo.template
10/15/2013 08:02 PM 148,271 SettingsXbianInfo.xml
07/01/2013 07:24 PM 1,794 welcomeDialog.xml
Reply
#9
bump

i found the files DialogKaiToast.xml in \Kodi\addons\skin.confluence, \Kodi\addons\skin.re-touched and \Kodi\addons\re-touched however still not sure what posy values i need to change. i see lots of values for <posy> however, nonthing with a value of 646.

can anyone help me with what file and what value to change to put the notifications to the top right of the screen?
Reply
#10
(2014-12-24, 23:15)rcmpayne Wrote: bump

i found the files DialogKaiToast.xml in \Kodi\addons\skin.confluence, \Kodi\addons\skin.re-touched and \Kodi\addons\re-touched however still not sure what posy values i need to change. i see lots of values for <posy> however, nonthing with a value of 646.

can anyone help me with what file and what value to change to put the notifications to the top right of the screen?

I'm using Helix and my version of DialogKaiToast.xml starts with:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<window>
    <animation effect="fade" start="0" end="100" time="200">WindowOpen</animation>
    <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
    <coordinates>
        <left>860</left>
        <top>640</top>
    </coordinates>

It's not 646, but guess which number I would try changing?

Also, if you want your change to survive a skin update, you should copy the skin to /userdata/addons, modify the addon folder name, and name/id in the addon.xml.
Reply
#11
yea i am using helix now as well and my file shows the same as yours above. still not sure what file i need to alter

Code:
<?xml version="1.0" encoding="UTF-8"?>
<window>
    <animation effect="fade" start="0" end="100" time="200">WindowOpen</animation>
    <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
    <coordinates>
        <left>860</left>
        <top>640</top>
    </coordinates>
    <controls>
        <control type="group">
            <animation effect="slide" start="0,0" end="-190,0" time="200" condition="Window.IsVisible(BusyDialog)">conditional</animation>
            <control type="image">
                <left>0</left>
                <top>0</top>
                <width>400</width>
                <height>70</height>
                <colordiffuse>EEFFFFFF</colordiffuse>
                <texture border="12">OverlayDialogBackground.png</texture>
            </control>
            <control type="image" id="400">
                <description>avatar</description>
                <left>20</left>
                <top>10</top>
                <width>50</width>
                <height>50</height>
                <aspectratio>keep</aspectratio>
                <texture>DefaultFile.png</texture>
            </control>
            <control type="fadelabel" id="401">
                <description>Line 1 Label</description>
                <left>75</left>
                <top>15</top>
                <width>310</width>
                <height>18</height>
                <font>font12_title</font>
                <textcolor>white</textcolor>
                <align>left</align>
                <aligny>center</aligny>
                <scrollout>false</scrollout>
                <pauseatend>2000</pauseatend>
            </control>
            <control type="fadelabel" id="402">
                <description>Line 2 Label</description>
                <left>75</left>
                <top>35</top>
                <width>310</width>
                <height>20</height>
                <font>font12_title</font>
                <textcolor>grey2</textcolor>
                <align>left</align>
                <aligny>center</aligny>
                <scrollout>false</scrollout>
                <pauseatend>2000</pauseatend>
            </control>
            <control type="image" id="403">
                <description>avatar</description>
                <left>20</left>
                <top>10</top>
                <width>50</width>
                <height>50</height>
                <aspectratio>keep</aspectratio>
                <visible>false</visible>
                <texture>DefaultIconInfo.png</texture>
            </control>
            <control type="image" id="404">
                <description>avatar</description>
                <left>20</left>
                <top>10</top>
                <width>50</width>
                <height>50</height>
                <aspectratio>keep</aspectratio>
                <visible>false</visible>
                <texture>DefaultIconWarning.png</texture>
            </control>
            <control type="image" id="405">
                <description>avatar</description>
                <left>20</left>
                <top>10</top>
                <width>50</width>
                <height>50</height>
                <aspectratio>keep</aspectratio>
                <visible>false</visible>
                <texture>DefaultIconError.png</texture>
            </control>
        </control>
    </controls>
</window>
Reply
#12
(2014-12-25, 01:33)rcmpayne Wrote: yea i am using helix now as well and my file shows the same as yours above. still not sure what file i need to alter

Really? It's right in front of you. Sigh. Change 640 to something lower, say 64. Reboot. Test. Change it higher or lower to your liking. Reboot. Rinse. Repeat.
Reply
#13
ok i got it working.

1. Edit C:\Program Files (x86)\Kodi\addons\skin.confluence\720p\DialogKaiToast.xml
2. change line 7 from <top>640</top> to <top>60</top>
Code:
    <coordinates>
        <left>860</left>
        <top>60</top>
    </coordinates>
    <controls>
3. Restart Kodi
Reply
#14
Hi, Can anyone point me to the folder where i find DialogKaiToast.xml on a machine running openelec 5?
Reply

Logout Mark Read Team Forum Stats Members Help
Is it possiable to move the push notification to top right0