gmu icon indicating copy to clipboard operation
gmu copied to clipboard

Question play on background

Open Fr-Dae opened this issue 1 year ago • 5 comments

hello, i'm maybe dumb but on my R36s (arkos) with portmaster, i don't understand how to play a playlist with gmu music player, in background (like to play with screen off or with a game running)

th

Fr-Dae avatar Jun 04 '24 14:06 Fr-Dae

Hi Fr-dae, no, you are not dumb. Unfortunately though, I cannot help you with the question, since this is very much dependent on the particular device Gmu is running on (in your case the R36s) and its operating system configuration.

Although I did create Gmu, I did not create the ports of Gmu for every single device on which it runs. Most of those devices are similar in that they run Linux under the hood, but some important details differ between them, requiring some (usually small) customization on Gmu's part by the person porting it to a particular device.

Generally speaking, there are devices that do allow applications to run in the background and those that don't easily let you do that. Those that do, should allow you to do it regardless of the specific application, probably by pressing some button combination. As for turning off the screen, Gmu has code for doing that on devices where the operating system doesn't do it by itself. Since the way how to do this has been different on a lot of devices, parts of that code have to be implemented for each device by the person porting it to that device.

Since I do not own a R36s myself, I don't know its exact configuration and if this adaptation has been made by whoever created the Gmu port for that device. I would suggest you ask the person who did the R36s build of Gmu about those things.

jhe2 avatar Jun 05 '24 16:06 jhe2

and its operating system configuration.

OS: Ubuntu 19.10 aarch64 -- Arkos (lasted) Host: Hardkernel ODROID-GO3 Kernel: 4.4.189 CPU: (4) @ 1.512GHz (RK3326) Memory: 380MiB / 897MiB Commercial name R36S - RGB20S Network name rg351mp

i'm using your GMU with "port master"

  • http://portmaster.games/detail.html?name=gmu.music.player
  • https://github.com/christianhaitian/PortMaster from @christianhaitian

i have no more information. but if you want send me prototype i can test and try on my R36S thanks you very mutch for your work and your reply

R36S have

  • 4 bumper (L1 L2 R1 R2)
  • fn (fonction) button used for reset , pause, savestate and quit a game
  • start / select
  • X Y A B
  • D-pad
  • 2 joystick
  • USB-C power charging
  • USB-C OTG (usefull for plug a ethernet dungle) and "on" button, you can turn off the screen with one clic, and power-off if you push it 15s

Fr-Dae avatar Jun 10 '24 15:06 Fr-Dae

https://github.com/AeolusUX/ArkOS-R3XS you can find here the img to try on vm

if you have any clue, please ping me

Fr-Dae avatar Jun 27 '24 05:06 Fr-Dae

Hi, I use GMU on the TrimUI Smart Pro, I use a button combination to "lock" GMU : it locks, the screen becomes black but the LCD backlight stays ON (which is not a big surprise from what I see in the code, indeed each device has its own way).

Speaking about the way to switch off the screen: @jhe2 do you think possible to add something generic like running a script "lcd_off.sh / lcd_on.sh" or just put a file flag in /tmp when the screen should be switched off ?

It would allow to easily adapt this LCD switch off feature without tweaking GMU source code for each device :)

cizia64 avatar Nov 22 '24 12:11 cizia64

Hi cizia64, I always wanted to avoid calling external programs from within Gmu, which is why the screen locking is implemented the way it currently is, but I can certainly see that it might be useful to allow it in this instance. It shouldn't be particularily complicated to implement. I'll see what I can do.

jhe2 avatar Nov 25 '24 08:11 jhe2