tmm 4 on raspbian
#1
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!!
#2
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)
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#3
(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!
#4
(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!

Hi mlaggner,

Could you create an up to date one for 4.0.7 and make it work with the default pi user?
When I use the above file it uses a direct personal path to your own account's folder.

cpp:
pi@RASPPI:~/tmm $ ./tinyMediaManager
panic: exec format error

goroutine 1 [running]:
main.main()
    /home/manuel/Dokumente/workspace_v4/launcher/main.go:65 +0x3a0

When I try to run the included file in the linux archive it states that it's the wrong exec format, which I suspect is because it's made for x86/x64 instead of ARM32.
#5
did you load the linux or the arm one? for raspberry PI you need the arm one
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#6
For Linux the download page only lists tmm_4.0.7_linux.tar.gz
The others are Mac or Windows, so no choice for ARM

Using the tinyMediaManager file in that gives the below message
Code:
bash: ./tinyMediaManager: cannot execute binary file: Exec format error
If I don't run it using a terminal it seems to load, but not actually do anything

When I use the ARM file you linked above, it gives the error I mention with pathing to your home folder.

Oh nevermind, it seems that it was a JRE issue.

JRE: OpenJDK15U-jre_arm_linux_hotspot_15.0.1_9.tar.gz
This one didn't work with your ARM launcher

JRE: OpenJDK11U-jre_arm_linux_hotspot_11.0.9.1_1.tar.gz
Downloaded this one, extracted to the same location and now your ARM launcher file works.

I have additionally also removed the jre-lunx.tar.br though, as that would not work with ARM.
On to the next task! Thanks
#7
I have found the tar for the ARM version now, but it is still missing the launcher, will the ARM launcher be included in the next version?

In case anyone else is looking to get this to work, please see what I've done. Links are from tinyMediaManager's own guides and gits, so official sources only below.

Code:
#
# 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

Logout Mark Read Team Forum Stats Members Help
tmm 4 on raspbian0