Kodi AutoPlay & Repeat Playlist At Startup

Making Kodi autoplay a playlist when loaded, then repeat that playlist until stopped is not as straight forward as you might think, with some trial and error reading the issues various people encountered, this is how i ended up successfully making Kodi play and repeat my video play list when started / loaded up.

Firstly go to  Settings > Appearance > Skin

Ensure you are using the Confluence skin and select “Settings”:

Kodi Auto Repeat Playlist On Startup

Then under the General setting “Enable playlist at startup” and select where the playlist is saved as the path:

Kodi Auto Repeat Playlist On Startup

That’s the obvious part done, however if you do that and leave Kodi to it, you will find when you reach the end of the play list Kodi will not repeat it.

To have Kodi repeat this play list we need to place a little script in the Kodi userdata folder, the location of this will vary depending on the operating system you are using, see the table below for help:

Operative system File path
Android Android/data/org.xbmc.kodi/files/.kodi/userdata/
iOS /private/var/mobile/Library/Preferences/Kodi/userdata/
Linux ~/.kodi/userdata/
Mac /Users/<your_user_name>/Library/Application Support/Kodi/userdata/
LibreELEC/OpenELEC /storage/.kodi/userdata/
Windows Start – type %APPDATA%\kodi\userdata – press <Enter>

 

Once you are in the Kodi userdata folder you want to create a file called autoexec.py, you can do this in any text editor. For example Notepad on Windows or Nano on Linux based operating systems.

Simply paste the following in your autoexec.py file and save it:

import xbmc
xbmc.executebuiltin( “PlayerControl(repeat)” )

Kodi Auto Repeat Playlist On Startup

If for some reason you are having trouble here is a zipped copy of my autoexec.py you can simply unzip to your Kodi userdata folder.

The end result should be when Kodi boots your playlist will start playing and the autoexec.py script will ensure the play list repeats in-defiantly.

I have done the above on a Raspberry Pi 3 running Kodi via OpenELEC 6.0.3 with no issue, my videos happily repeat all day long in our showroom.

Final Note:

It’s worth mentioning you can also make Kodi start playing a playlist with the autoexec.py script:

import xbmc
xbmc.executebuiltin( “PlayMedia(/storage/.kodi/userdata/playlists/video/showroom.m3u)” )
xbmc.executebuiltin( “PlayerControl(repeat)” )

However i found if the TV was not on when Kodi was loaded  it would only play the first item on the playlist, then keep repeating the first item on the playlist only. This for me was not ideal as i needed everything to just work with no user interaction, which is what the solution detailed in this blog post allows for.

I hope this is of help to someone anyway!

Disable Action Center / Notification Icon On Windows 10

The Windows 10 Anniversary Update (1607) introduced a new annoyance for me, moving the Action Center / Notification to the right of the clock in the system tray. Maybe I’ve just used Windows for too long and am so used to the clock been in the same place, however this minor change really started to annoy me after a couple of days, especially as i’ve never had any use for the action center anyway.

disable-windows-10-action-center-notification-icon-6

Thankfully Windows 10 has some options hidden away that allow users to turn system icons on and off.

So How Can I Disable The Action Center / Notification Icon On Windows 10?

The easiest way to disable the Windows 10 Action Center / Notification Icon is to do the following.

Right click on your desktop and select “Personalise”:

Disable Windows 10 Anniversary Update Notification / Action Center Icon Step 1

Click “Task Bar” then scroll down the list of options until you get to “Notification area”, here you will see a link to “Turn system icons on and off”.

Disable Windows 10 Anniversary Update Notification / Action Center Icon Step 2

Once you click the “Turn system icons on and off” link you will be able to turn the “Action Center” off:

Disable Windows 10 Anniversary Update Notification / Action Center Icon Step 3

The end result been the clock will move back to the far right of the screen where it has always been:

disable-windows-10-action-center-notification-icon-7

This is a useful work around for people who are annoyed by the Action Center changes in the Windows 10 Anniversary Update (1607), however I would personally like to see the option to re arrange the order of system icons added. It’s possible to move some icons such as the sound and network icon, so why not the clock and action center?

Now if only the GPO to disable the lock screen still worked on Windows 10 Pro editions…

Use TweetDeck Web as a Twitter Desktop App

As you are probably aware if you are reading this Twitter are closing down the TweetDesk desktop application, however fear not. TweetDeck Web looks exactly the same as the desktop application and you can essentially emulate how the old TweetDeck app worked using Google Chrome and a bit of trickery. Essentially you can create a shortcut that will run TweetDeck website in a borderless web browser window, complete with its own icon.

As you can see below from the screenshot comparison below running TweetDeck in a borderless web browser window looks exactly like the TweetDeck desktop app.

tweetdesk-chrome-web-app-desktop

Your TweetDesk desktop web app can even have its own icon on the taskbar, just like the old TweetDesk desktop app did:

tweetdesk-chrome-web-app-desktop-2

How to Use TweetDeck Web as a Twitter Desktop App:

If you’d like to set TweetDeck Web up as a Chrome desktop app you first need to have downloaded and installed Google Chrome: Download Google Chrome

Before getting started its worth mentioning this could used to do this directly in Chrome, however i no longer see the option in any of my current Chrome installs. The option used to be under Tools > Create application shortcuts, from here here you could add a frameless webpage to the desktop, startm menu or pinned to the taskbar.

Once you have Google Chrome installed go to C:\ProgramData\Microsoft\Windows\Start Menu\Programs and find the Google Chrome shortcut, you want to make a copy of this and rename it to something like TweetDeck.

tweetdesk-chrome-web-app-desktop-3

Now you want to right click on the TweetDesk shortcut, go to properties, click the shortcut tab, then in the target box you want to add a space after chrome.exe” and type

–app=https://tweetdeck.twitter.com/

tweetdesk-chrome-web-app-desktop-4

The end result should be your target box in the shortcut looks like this: “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –app=https://tweetdeck.twitter.com/

Please note your Google Chrome could well be installed in a different location to the above, if you have the 64bit version installed for example, however all you need to do is add a space then  –app=https://tweetdeck.twitter.com/ to the end of the target in the shortcut properties.

If you now double click on your TweetDeck shortcut the TweetDeck website should load in Google Chrome, however will have no frame around the website, essentially looking the exact same as TweetDeck for Windows did. You can re-size the window however you desire, or even maximize it, without it interfering with your normal Chrome browser session.

tweetdesk-chrome-web-app-desktop-5

Optional Step: Pin TweetDeck Web To The Taskbar With An Icon:

If you want to pin your new TweetDeck web app to the taskbar you sort of have to go through the above process again, however in a slightly different way.

Open the TweetDeck shortcut you just made, right click on it then select “pin this program to the taskbar”:

tweetdesk-chrome-web-app-desktop-6

You will then end up with another Google Chrome icon which opens Google Chrome and not TweetDeck.

To fix this open the following folder: C:\Users\Matt\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar – be sure to change Matt in the file path to the username you use to log on to Windows with.

Right Click on the Google Chrome (2) shortcut and go to “Properties”, as we previously did:
tweetdesk-chrome-web-app-desktop-7

Add a space then  –app=https://tweetdeck.twitter.com/ to the end of the target in the shortcut properties, like we did previously:

tweetdesk-chrome-web-app-desktop-8

If you also click change icon you can then change the default Google Chrome icon to a Twitter icon, you can Download the TweetDeck Icon here and unzip it somewhere on your system, e.g. the Documents folder, then simply click “change icon” and browse to the location of the TweetDeck icon you saved, selecting this as the new icon. You can then press ok and rename “Google Chrome (2)” to TweetDeck if you wish.

Note: Be aware if you rename the Google Chrome (2) shortcut you will need to log off and log back on again for the changes we just made to be reflected in the Task Bar.

That’s it, you can essentially use TweetDeck as you always have, without having to keep a tab in your web browser open all the time! (woohoo!)

FAQ:

Q: I don’t get desktop notifications from TweetDeck

A: You might need to add a new column to TweetDeck and ensure popup alerts is ticked, like so: tweetdesk-chrome-web-app-desktop-9

Google Chrome will then ask if you wish to allow TweetDeck to show desktop notifications, you simply need to click allow:

tweetdesk-chrome-web-app-desktop-10