2018-03-05, 13:56
Hey guys.
I'll want to present you my first kodi addon.
Description:
I have missed a feature from my rather old DBOX2 & Dreambox DM800, the "AD Zapper" (German: Werbezapper)
It's a simple "timer" that switches back to the live tv channel where the timer was started.
Mapped to a button, it's a nice way to "skip" live tv commercials/advertisment blocks with the press of a button.
You will never forget to switch back to the channel you have watched before a commercial break started!
Screenshot:
Download: available since 06.03.2018 on official kodi addon repository
Setup:
Credit's goes to 'robweb' for his script.sleep: https://github.com/robwebset/script.sleep
script.adzapper is using parts of it.
Have fun
pOpY
I'll want to present you my first kodi addon.
Description:
I have missed a feature from my rather old DBOX2 & Dreambox DM800, the "AD Zapper" (German: Werbezapper)
It's a simple "timer" that switches back to the live tv channel where the timer was started.
Mapped to a button, it's a nice way to "skip" live tv commercials/advertisment blocks with the press of a button.
You will never forget to switch back to the channel you have watched before a commercial break started!
Screenshot:
Download: available since 06.03.2018 on official kodi addon repository
Setup:
- Download/Install from official repo directly in kodi
- Setup your prefered timer settings under Add-ons - Addon Browser - My add-ons - Program add-ons - LiveTV Ad-Zapper - configure
- Setup a key to run script.adzapper (open rezap timer dialog):
There are two ways of setting up an key to run script.adzapper.
The first is, create an keymap_adzapper.xml file in your "userdata/keymap" folder with the following in it:Quote:<keymap>
Now adjust it to your needs like described here: https://kodi.wiki/view/keymap
<global>
<keyboard>
<key id="61511">SetProperty(ADZapperPrompt, true, 10000)</key>
</keyboard>
</global>
<VideoOSD>
<keyboard>
<key id="61511">SetProperty(ADZapperPrompt, true, 10000)</key>
</keyboard>
</VideoOSD>
<FullscreenLiveTV>
<keyboard>
<key id="61511">SetProperty(ADZapperPrompt, true, 10000)</key>
</keyboard>
</FullscreenLiveTV>
</keymap>
The cmd to run script.adzapper is: "SetProperty(ADZapperPrompt, true, 10000)" (without the quotes)
With the example above, ad zapper dialog will be shown or rezap time will be extended, if keyboard key "g" is pressed.
I have set up a custom command in Yatse (my main remote app) to send the "g" key.
This works reliable.
The Second way is configure it with the help of the addon "keymap editor":
Download & install it from official repo. Run it and setup the following:
* Edit -> Global -> Add-ons -> LiveTV Ad-Zapper -> press the key you want
* Edit -> Fullscreen Live TV -> Add-ons -> LiveTV Ad-Zapper -> press the key you want
To setup the same key for VideoOSD, close kodi and manually edit the gen.xml, just add the following with your correct found key id:
Quote: <VideoOSD>
<keyboard>
<key id="61511">SetProperty(ADZapperPrompt, true, 10000)</key>
</keyboard>
</VideoOSD>
- You are ready to go, Start Live TV, press your configured key during LiveTV and enjoy
Credit's goes to 'robweb' for his script.sleep: https://github.com/robwebset/script.sleep
script.adzapper is using parts of it.
Have fun
pOpY