2020-12-22, 20:02
Hi, I'm trying to run tmm4 on a raspberry and I don't know how to run it, because there is no .sh file, is there a way to run it on a raspbian? thanks!!
(2020-12-22, 21:24)mlaggner Wrote: [ -> ]okay - you are right (totally missed that). the starter for ARM (raspberry pi) is missing here..
you can download it via https://gitlab.com/tinyMediaManager/tiny...7/download (just take the binary in the arm folder) and put it into the tmm folder.. that should work
also make sure you have installed java 11+ in your system (we do not ship a packaged java for arm yet)
(2020-12-23, 07:43)Coco27 Wrote: [ -> ](2020-12-22, 21:24)mlaggner Wrote: [ -> ]okay - you are right (totally missed that). the starter for ARM (raspberry pi) is missing here..
you can download it via https://gitlab.com/tinyMediaManager/tiny...7/download (just take the binary in the arm folder) and put it into the tmm folder.. that should work
also make sure you have installed java 11+ in your system (we do not ship a packaged java for arm yet)
ok i will try it this afternoon, thanks!
cpp:pi@RASPPI:~/tmm $ ./tinyMediaManager
panic: exec format error
goroutine 1 [running]:
main.main()
/home/manuel/Dokumente/workspace_v4/launcher/main.go:65 +0x3a0
bash: ./tinyMediaManager: cannot execute binary file: Exec format error
#
# Install tinyMediaManager
#
# Download mediainfo repository to get the latest version instead of the older version that is default
# Latest release: https://mediaarea.net/en/Repos
wget https://mediaarea.net/repo/deb/repo-medi...13_all.deb -P ~/Downloads/
#
# Download tinyMediaManager package
# Latest release: https://gitlab.com/tinyMediaManager/tiny...-/releases
wget https://gitlab.com/tinyMediaManager/tiny...3/download -O ~/Downloads/tinyMediaManager-4.0.7-arm.tar.gz
#
# Download tinyMediaManager ARM launcher
wget https://gitlab.com/tinyMediaManager/tiny...7/download -O ~/Downloads/tinyMediaManager-arm-executable.tar.gz
#
# Download Java JRE package
# Latest release: https://adoptopenjdk.net/releases.html
wget https://github.com/AdoptOpenJDK/openjdk1...1_1.tar.gz -P ~/Downloads/
# Install mediainfo repository and application
sudo dpkg -i ~/Downloads/repo-mediaarea_1.0-13_all.deb && sudo apt update -y
sudo apt install -y mediainfo mediainfo-gui
# Extract tinyMediaManager, ARM launcher and JRE
mkdir ~/tmm && tar -xf ~/Downloads/tinyMediaManager-4.0.7-arm.tar.gz -C ~/tmm
tar -xf ~/Downloads/tinyMediaManager-arm-executable.tar.gz -C ~/tmm arm/tinyMediaManager --strip-components 1
mkdir ~/tmm/jre && tar -xf ~/Downloads/OpenJDK11U-jre_arm_linux_hotspot_11.0.9.1_1.tar.gz -C ~/tmm/jre --strip-components 1
# Create menu shortcut
nano ~/.local/share/applications/tinyMediaManager.desktop
# Copy and paste the below
[Desktop Entry]
Name=tinyMediaManager
Comment=tinyMediaManager
Exec=/home/pi/tmm/tinyMediaManager
Icon=/home/pi/tmm/tmm.png
Terminal=false
Type=Application
Categories=AudioVideo;
# Save and exit, you will now have tinyMediaManager in your menu under Sound & Video