User Tools

Site Tools


kodi:kodi21-debian-dlbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kodi:kodi21-debian-dlbox [2025/07/28 19:14] – [YouTube addon] Wulf Rajekkodi:kodi21-debian-dlbox [2025/08/11 21:17] (current) – [qbittorrent] Wulf Rajek
Line 41: Line 41:
 <code> <code>
 su - su -
-apt install zip unzip+apt install zip unzip vim
 </code> </code>
  
Line 112: Line 112:
  
 set copyindent      " Disable auto indent when copying indented text set copyindent      " Disable auto indent when copying indented text
 +
 +set ruler           " Show line/cursor number and percentage position of file in bottom right
  
 " Only do this part when compiled with support for autocommands. " Only do this part when compiled with support for autocommands.
Line 139: Line 141:
  
 endif " has("autocmd") endif " has("autocmd")
 +
 EOD EOD
 cp /etc/vimrc /root/.vimrc cp /etc/vimrc /root/.vimrc
 +cp /etc/vimrc /home/kodi/.vimrc
 +chown kodi:kodi /home/kodi/.vimrc
 </code> </code>
  
Line 422: Line 427:
 mkdir /opt/radarr mkdir /opt/radarr
 mkdir /opt/sonarr mkdir /opt/sonarr
 +
 mkdir -p /media/downloads/{complete,incomplete,watch} mkdir -p /media/downloads/{complete,incomplete,watch}
 +chmod g+s /media/downloads -R
 +
 mkdir /mnt/usb/movies mkdir /mnt/usb/movies
 mkdir /mnt/usb/tv mkdir /mnt/usb/tv
Line 747: Line 755:
 udp://open.stealth.si:80/announce udp://open.stealth.si:80/announce
 udp://opentracker.i2p.rocks:6969 udp://opentracker.i2p.rocks:6969
 +
 +#in case of permission issues:
 +downloads: Run external program on torrent completion set to: | chmod -R 770 “%F/” 
 +
 +
 </code> </code>
  
Line 868: Line 881:
   * videos   * videos
     * show info for unwatched items - disable episode thumb     * show info for unwatched items - disable episode thumb
 +  * music
 +    * Switch to Visualisation on Playback
 Interface: Interface:
   * screensaver: black   * screensaver: black
Line 966: Line 981:
  
 ====== Kodi Customisation ====== ====== Kodi Customisation ======
 +
 +Auto focus first menu item in skin settings:
 +<code>
 +sed -i.bak 's/<defaultcontrol always="true">9000<\/defaultcontrol>/<defaultcontrol always="true">9000<\/defaultcontrol>/' ~/.kodi/addons/skin.estuary.modv2/xml/SkinSettings.xml
 +</code>
 +
  
 Exclude in-progress movies from unwatched list: Exclude in-progress movies from unwatched list:
 <code> <code>
-sed -i '/<\/rule>/a\ \ \ \ <rule field="inprogress" operator="false" \/>' ~/.kodi/addons/skin.estuary.modv2/playlists/unwatched_movies.xsp+sed -i.bak '/<\/rule>/a\ \ \ \ <rule field="inprogress" operator="false" \/>' ~/.kodi/addons/skin.estuary.modv2/playlists/unwatched_movies.xsp 
 +</code> 
 + 
 +Reduce font size of CPU usage on Hardware screen for 12 core system 
 +<code> 
 +sed -i.bak '1269s/font14/font12/' ~/.kodi/addons/skin.estuary.modv2/xml/Home.xml 
 +</code> 
 + 
 +Add option to close Video OSD immediately when resuming: 
 +<code> 
 +cd ~/.kodi/addons/skin.estuary.modv2 
 + 
 + 
 +sed -i.bak 's/<onclick condition="String.IsEqual(Skin.String(autoclose_osd),31578)">Skin.SetString(autoclose_osd,31580)<\/onclick>/<onclick condition="String.IsEqual(Skin.String(autoclose_osd),31579)">Skin.SetString(autoclose_osd,31580)<\/onclick>/' xml/SkinSettings.xml 
 + 
 +sed -i '/<onclick condition="String.IsEqual(Skin.String(autoclose_osd),31579)">Skin.SetString(autoclose_osd,31580)<\/onclick>/a\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ <onclick condition="String.IsEqual(Skin.String(autoclose_osd),31578)">Skin.SetString(autoclose_osd,31579)<\/onclick>' xml/SkinSettings.xml 
 + 
 +sed -i 's/!String.IsEqual(Skin.String(autoclose_osd),31578) + /!String.IsEqual(Skin.String(autoclose_osd),31578) + !String.IsEqual(Skin.String(autoclose_osd),31579) + /' xml/SkinSettings.xml 
 + 
 +sed -i.bak '/Skin.String(autoclose_osd),31578)">\$LOCALIZE\[31578\]<\/value>/a\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ <value condition="String.IsEqual(Skin.String(autoclose_osd),31579)">$LOCALIZE[31579]<\/value>' xml/Variables.xml 
 + 
 +sed -i.bak "/msgctxt \"#31579\"/imsgctxt \"#31579\"\nmsgid \"0 seconds\"\nmsgstr \"\"\n\n" language/resource.language.en_gb/strings.po 
 + 
 +# other closing times defined in xml/Custom_1110_CloseVideoOSD.xml 
 +</code> 
 + 
 +Move next episodes to watch to top. Install embuary helper addon (through skin settings) 
 +Move this: 
 +<code> 
 +<include content="WidgetNextWatchEpisodes" condition="System.AddonIsEnabled(script.embuary.helper) + Library.HasContent(tvshows) + !Skin.HasSetting(hide_nextepisodes) + Skin.HasSetting(HomeBanner)"> 
 +                                                        <param name="content_path" value="plugin://script.embuary.helper?info=getnextup"/> 
 +                                                        <param name="widget_header" value="$LOCALIZE[31212]"/> 
 +                                                        <param name="widget_header_focus" value="$INFO[Container(6700).ListItem.TVShowTitle, | , - ]$INFO[Container(6700).ListItem.Season,,x]$INFO[Container(6700).ListItem.Episode,,. ]$INFO[Container(6700).ListItem.Title]$INFO[Container(6700).ListItem.Year, (,)]"/> 
 +                                                        <param name="browse" value="never"/> 
 +                                                        <param name="widget_target" value="videos"/> 
 +                                                        <param name="list_id" value="6700"/> 
 +                                                </include> 
 +                                                <include content="WidgetNextWatchEpisodesBanner" condition="System.AddonIsEnabled(script.embuary.helper) + Library.HasContent(tvshows) + !Skin.HasSetting(hide_nextepisodes) + !Skin.HasSetting(HomeBanner)"> 
 +                                                        <param name="content_path" value="plugin://script.embuary.helper?info=getnextup"/> 
 +                                                        <param name="widget_header" value="$LOCALIZE[31212]"/> 
 +                                                        <param name="widget_header_focus" value="$INFO[Container(67001).ListItem.TVShowTitle, | , - ]$INFO[Container(67001).ListItem.Season,,x]$INFO[Container(67001).ListItem.Episode,,. ]$INFO[Container(67001).ListItem.Title]$INFO[Container(67001).ListItem.Year, (,)]"/> 
 +                                                        <param name="widget_target" value="videos"/> 
 +                                                        <param name="browse" value="never"/> 
 +                                                        <param name="list_id" value="67001"/> 
 +                                                </include> 
 +</code> 
 + 
 +just under: 
 +<code> 
 +                                                <include content="WidgetListCategoriesSmall" condition="Library.HasContent(tvshows) + !Skin.HasSetting(hide_tvshowscategory)"> 
 +                                                        <param name="widget_header" value="$LOCALIZE[31148]"/> 
 +                                                        <param name="list_id" value="69001"/> 
 +                                                        <param name="visible" value="Skin.HasSetting(UseSmallerCategories)" /> 
 +                                                </include>
 </code> </code>
  
 ====== YouTube addon ====== ====== YouTube addon ======
 +
 +The Kodi YouTube addon requires a google account and a personal API key and OAuth credentials.
  
 Add the "unofficial" repository as the version in the official Kodi repository is outdated and likely will not work. Add the "unofficial" repository as the version in the official Kodi repository is outdated and likely will not work.
Line 980: Line 1056:
 </code> </code>
  
-Testing repositories are: +Install repo in Kodi via settings -> addons -> install from zip file -> home folder -> yt unofficial zip
-https://ftp.fau.de/osmc/osmc/download/dev/anxdpanic/repositories/repository.yt.testing_official-2.0.7.zip +
-https://ftp.fau.de/osmc/osmc/download/dev/anxdpanic/repositories/repository.yt.testing_unofficial-2.0.7.zip+
  
-Create API keys:+ 
 +Create API key and OAuth credentials:
 https://github.com/anxdpanic/plugin.video.youtube/issues/1095 https://github.com/anxdpanic/plugin.video.youtube/issues/1095
 https://forum.kodi.tv/showthread.php?tid=356934&pid=3224383#pid3224383 https://forum.kodi.tv/showthread.php?tid=356934&pid=3224383#pid3224383
 https://github.com/anxdpanic/plugin.video.youtube/issues/439 https://github.com/anxdpanic/plugin.video.youtube/issues/439
  
 +https://console.developers.google.com/
  
-How to add API Keys:+How to add API key and OAuth credentials:
 https://ytaddon.page.link/keys https://ytaddon.page.link/keys
  
-Sign in at https://console.developers.google.com/ +Enable API page, then enter the key and credentials on:
- +
-YouTube addon settings: +
-Enable API page, then enter them on:+
 http://192.168.1.11:50152/youtube/api http://192.168.1.11:50152/youtube/api
- 
-restart kodi 
  
  
kodi/kodi21-debian-dlbox.1753726468.txt.gz · Last modified: by Wulf Rajek