I just installed a fresh copy of osmc on a raspberry pi.
I have a single mp4 video file that I want to play when the device powers up and have it keep repeating it.
I have followed the tutorial on how to make the autoexec.py file. That works, but only plays the video once. I read that I have to create a playlist.
It appears the only thing you can add to a playlist is files that are in the video library. So I am trying to add the video to the library and can’t.
I copied the video file (video1.mp4) to a folder off the root called Movies.
I then went to the main menu and chose Movies.
There are no movies in the library, so it shows the button to go to files. I hit that button and it shows a list of folders.
I clicked on Add Video…
I Browse to the Movies folder I created off the root. It is now in the list.
I choose Movies for the “This directory contains”
I choose Local information only for provider.
I hit ok and now it is in the list.
When I go back to the main menu and select Movies the video still doesn’t show up.
I tried renaming the file “My Video (2017)” to try to follow the scraping format and that did not help.
If I go to the files area of the Movies source it shows video1.mp4 in the list.
If I right click it and choose “scan to library” it shows a progress bar for a split second and then shows the rename dialog. I tried all kinds of things in the name and when I hit OK it just shows the progress bar again for a split second and then the rename dialog again. Loop forever here. If I cancel then the video is still not in the library.
How do I add my mp4 video to a playlist so I can make it repeat over and over when the RPi boots up?