Skip to content

Commit

Permalink
fix: support orangepi devices as raspberry pi w/o hw accel
Browse files Browse the repository at this point in the history
I installed pikaraoke on an OrangePi 3lts with Armbian SO and only works
by adding this line of code
  • Loading branch information
Carlos-GSan authored and vicwomg committed Nov 5, 2024
1 parent f5fbac3 commit 658d381
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pikaraoke/lib/get_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ def supports_hardware_h264_encoding():
if is_raspberry_pi():
platform = get_platform()

# For other platform(OrangePI etc)
if platform is None:
return False

# Raspberry Pi >= 5 no longer has hardware GPU decoding
match = re.search(r"Raspberry Pi (\d+)", platform)
if match:
Expand Down

0 comments on commit 658d381

Please sign in to comment.