20/05/2020 UPDATE: I will not update this again. I sold my Vero4K as it wasn't that stable and updates did not improve. Also none of the promises of the developer (couple years ago) came through. Switching to an nVidia ShieldTV 2019 (tube model) was the best choice ever: rock-stable, much better picture quality (best upscaling available to consumers). Also moved away from Kodi, I now use Jellyfin only: https://github.com/zilexa/Homeserver
Automatically installs and configures a Vero 4K or RasberryPi device running OSMC or Debian to get a "Netflix-like" experience! It uses OSMC with Kodi for playback. No streaming addons are being used.
For the system to know what series and movies you want to watch, you need a free account on trakt.tv. Go to trakt.tv, create an account, go to your profile, create a list called "TVshows". Now search the tvshows you like to watch and add them to the "TVshows" list. For movies, Search movies and add them to your "watchlist" (not to your TVshows list).
VERY IMPORTANT: you need to mark the seasons or episodes you have already seen as "watched". Otherwise the system will think you want every season of every series (for example, NCIS has 14 seasons.. you might have seen season 1-12 already and the first episodes of season 13). This is probably a lot of work. I have used the app "Nachos" in the Google Play Store to do this, it's a lot easier. Took me half an hour which is more work than the steps below to install everything.
Requirements:
MAKE SURE YOU FOLLOW OSMC INSTALLATION INSTRUCTIONS FIRST: https://osmc.tv/download/
wget https://rawgit.com/zilexa/autosetup/master/autosetup.sh
nano autosetup.sh
(save the file with CTRL+O, exit the editor with CTRL+X)bash autosetup.sh
Make sure you go through the features, by default everything except OpenVPN, SyncThing and Spotify are selected. If you don't need those, leave it. Do go through all user-specific settings, you need change them correctly.
.
NOTE: every application installed will show up in MyOSMC > Apps. You can start/stop the apps from there using your TV remote.
Schedules your Dynamic DNS update URL to be called every 4 hrs.
Configures Transmission, the tool that will actually download stuff. Needs to be installed first via MyOSMC!
This is the magic and complex tool that will check your Trakt account, find series, season packs, episodes and movies, get them for you in the right quality, organise them neatly on your USB drive and triggers Kodi to scan all files. Setting this to 1 will install Flexget and required components and it will install this Flexget config https://github.com/zilexa/flexget_config
Installs Spotify Connect (Premium users only). This allows you to use Spotify on your phone/pc but playback on this device!
Simply installs OpenVPN, nothing else. I would like to configure it in such a way, Flexget & Transmission will always run via VPN, all other things will have direct access to the internet. But this is too complex so it just installs OpenVPN. You can configure it yourself.
installs SyncThing, nothing else. Nothing will be configured. Handy as personal cloud to sync your phones photos to your device or autobackup documents. https://syncthing.net/.
the folders containing your media will be added as library sources. You can do this in Kodi but now you don't have to, just run a library scan.
Disables the annoying blinking leds on the RPI3 and also the powerled on the RPI2 (powerled of RPI3 cannot be disabled).
.
Location of your connected USB drive. Connect it to your laptop to figure out it's name. Make sure you create the following folders: TVshows, Movies, Music, Pictures. The first two are required and case sensitive! Example: My harddrive label when I connect it to a Windows laptop shows in My Computer as "MyDrive". MyDrive contains the mentioned folders.
Want to access files/see download progress or manually download when not at home? you can create a nice domain (like zilexa.funstuff.com) otherwise you need to know your IP address given by your ISP. Go to https://freedns.afraid.org/, register for free and go to the DynamicDNS. Create a nice domain name and then get the url by electing 'cron example'.
For the system to know what series and movies you want to watch, you need a free account on trakt.tv. Go to trakt.tv, create an account, go to your profile, create a list called "TVshows". Now search the tvshows you like to watch and add them to the "TVshows" list. Search for movies and add them to the "watchlist".
By default user/password is osmc/osmc. That's not very safe. Fill in a desired user/password. This will then be set for you.
Your device will show up in the Spotify app when you are connected to your home network. You can playback music on the device! Fill in your Spotify Premium username and password and choose a name for your device. This is how the device will appear on your phone or tablets Spotify app.