more PJ functionality in kodi

This commit is contained in:
zerf58 2024-04-14 20:24:41 -07:00
parent 1fb6b307ea
commit 63b24f92fa
3 changed files with 19 additions and 0 deletions

View file

@ -107,6 +107,12 @@ Kodi(){
play(){ play(){
kodi-send --action="PlayPause" kodi-send --action="PlayPause"
} }
forward(){
kodi-send --action="SkipNext"
}
back(){
kodi-send --action="SkipPrevious"
}
split_up(){ split_up(){
xdotool_helper "key p" xdotool_helper "key p"
} }

View file

@ -20,5 +20,16 @@
<escape>ParentDir</escape> <escape>ParentDir</escape>
</keyboard> </keyboard>
</Music> </Music>
<Visualisation>
<keyboard>
<escape>Stop</escape>
<p>Fullscreen</p>
</keyboard>
</Visualisation>
<MusicMenu>
<keyboard>
<play>Play</play>
</keyboard>
<MusicMenu>
</keymap> </keymap>

View file

@ -56,6 +56,8 @@
<property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh task_manager"/> <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh task_manager"/>
<property name="&lt;Alt&gt;Up" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh move_up"/> <property name="&lt;Alt&gt;Up" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh move_up"/>
<property name="AudioPlay" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh play"/> <property name="AudioPlay" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh play"/>
<property name="&lt;Alt&gt;Right" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh forward"/>
<property name="&lt;Alt&gt;Left" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh back"/>
</property> </property>
</property> </property>
<property name="xfwm4" type="empty"> <property name="xfwm4" type="empty">