Closed Brad7173 closed 4 months ago
Steam_Shortcuts_VDF_Backup.sh
UserPath=$(echo "/home/""$USER") CurrentDIR="$(dirname "$(readlink -f "$0")")" SteamID=$(cd $UserPath/.steam/debian-installation/userdata/ ; ls | xargs) dt=$(date '+%m%d_%Y_%I%M%S%p_') zip -j $UserPath/Games/Steam_Shortcuts_Backup/shortcutsvdf"$dt".zip $UserPath/.steam/debian-installation/userdata/$SteamID/config/shortcuts.vdf exit
Nothing sucks worse than an error that removes over 100 non steam games and having to re-create the shortcuts!! That script assumes you have "Games/Steam_Shortcuts_Backup" folders inside your linux home directory. I know I need to add code for (condition: if folder not exist...create).
UserPath=$(echo "/home/""$USER") CurrentDIR="$(dirname "$(readlink -f "$0")")" SteamID=$(cd $UserPath/.steam/debian-installation/userdata/ ; ls | xargs) dt=$(date '+%m%d_%Y_%I%M%S%p_') mkdir -p $UserPath/Games #Make dir if not exist mkdir -p $UserPath/Games/Steam_Shortcuts_Backup #Make dir if not exist zip -j $UserPath/Games/Steam_Shortcuts_Backup/shortcutsvdf"$dt".zip $UserPath/.steam/debian-installation/userdata/$SteamID/config/shortcuts.vdf exit
Why not use kodi?
The windorks installer of kodi into steam: You are passing steam rom manager a linux path to executable then would need to pass a windorks path to the executable for media.
The linux version of kodi through steam: It does not like any spaces what so ever in file naming. The file "All You Need.mkv" gets read as "All" and generates an error.
Vlc, you end up having to press the windorks key...no keyboard controls work right.
mpv player doesn't have enough options.
Leaving smplayer the best option and has command line arguments.
For kodi: (This is the windorks installer of kodi into a steam prefix on linux)
This won't work. It will load kodi and give you an error and tell you to check the log. "/home/$LinuxUserName/.steam/debian-installation/steamapps/compatdata/$SteamID/pfx/drive_c/Program Files/Kodi/kodi" "/mnt/0c4adc75-836b-4b6e-bbc3-f4fbbcb6540d/DvD/Movie/10,000 B.C./10,000 BC.mkv"
This will work. Note that my DvD rips are on a seperate drive. By default anything in the prefix is an emulated windorks environment and will be C:\ "/home/$LinuxUserName/.steam/debian-installation/steamapps/compatdata/$SteamID/pfx/drive_c/Program Files/Kodi/kodi" "Z:\mnt/0c4adc75-836b-4b6e-bbc3-f4fbbcb6540d\DvD\Movie\10,000 B.C.\10,000 BC.mkv"
(The problem with this is linux uses "/" for a delimiter signifying folders. Windorks uses \ instead. Now when the parser runs it's running in a linux environment (I used the debian installer.)....and can't pull the artwork using the windorks delimiter )
Without running natively....your app still needs ability to mass select a custom proton or compatibility layer for linux users. The installer method of kodi into a steam prefix on linux requires steam use proton experimental or other. For each movie and I had 124...I'd have to manually select a custom proton.
The proton issue is a duplicate, it will get added eventually. Adding scrapers specifically for movies is way outside of scope for SRM, which is a tool for managing games and game artwork.
This is my custom parser for DvD rips. I'm running them (NATIVELY!!) in SmPlayer in MX Linux 23 - Debian Bookworm: -----Parser-----
-----End Parser----- Tiny Media Manager can get most of the artwork and put it into folders so globs can be used as I've done. People would still want tmm for kodi etc so it won't affect their sales. This would however improve your app.
https://www.tinymediamanager.org/
List of Movie Art Scrapers: https://anidb.net/ https://www.imdb.com/ https://www.moviemeter.com/ http://mpdb.tv/ https://www.themoviedb.org/ https://thetvdb.com/