Homebrew RELEASE pPlay: switch video player

  • Thread starter Thread starter cpasjuste
  • Start date Start date
  • Views Views 267,717
  • Replies Replies 869
  • Likes Likes 120
Hi guys,

First sorry for not looking closely at this thread, i'm a little out of development since a few months, i'm doing this since a lot of years (developing) and i think i need a little (big) beak :)

I did saw @ShroomKing work thought (thanks to his github PR), thanks to him for improving pPlay. I also needs to thanks @DarkMatterCore for usbhostfs I guess :)

Since yesterday i did take the time to merge his changes and fix a few things (including subtitles).
Please note that I was not able to test usb.

So you'll find a new version of pPlay on the release page (3.3) !

https://github.com/Cpasjuste/pplay/releases/tag/v3.3
 
Last edited by cpasjuste,
Hi!

I just found out about this great homebrew the other day and after trying it out i downloaded the source and started adding some features to the OSD with options set/read in the config file of the app. @cpasjuste Would you be interested in more collaborators on this project?
I’m planning to use it also for music playback so i’m thinking playlists and other features too.
 
Hi!

I just found out about this great homebrew the other day and after trying it out i downloaded the source and started adding some features to the OSD with options set/read in the config file of the app. @cpasjuste Would you be interested in more collaborators on this project?
I’m planning to use it also for music playback so i’m thinking playlists and other features too.
Hi,

You're more than welcome, of course. The project (as all my projects) is open source, and it's one of the reasons :)

A few dev notes, to @ShroomKing and @Kyrn :

- I use a custom ffmpeg build because the devkitpro one is "stripped" (missing some codecs/demuxers..). You can see how to compile it here: https://github.com/Cpasjuste/pplay/blob/master/ffmpeg.sh
- @ShroomKing , there is a cmake target to build the nro (and the release package)
- You can (should) build it for linux for faster development (unless you're doing switch specific stuff, of course)
- I use CLion ide to handle the project, it's a great ide (you can get free licence on request)
 
Last edited by cpasjuste,
@cpasjuste It seems the latest official release breaks the USB mass storage option from the + button menu. According to a friend, pressing A on it does nothing (compared to the build from @ShroomKing). I just wanted to let you know this.

Also, it seems the print code doesn't parse strings as UTF-8. This results in garbled text in the file browser while displaying file/directory names that hold UTF-8 codepoints. All fs strings should be handled as UTF-8.

@Kyrn using pPlay as an audio player sounds great. If possible, displaying files with unsupported extensions would be great - in the end, file extensions don't really mean anything at all.

Adding some sort of mark right next to videos that have already been played would be great as well.
 
Hi @cpasjuste testing pplay 3.3 right now and USB doesn't seem to work, tried in my 2T HDD and when press A on Usb tab nothing happens, I did a clean exit from PC.
Just for the record, safely removing a NTFS drive from a PC is no longer mandatory since libusbhsfs v0.2.2.

It is still, however, good practice, so keep doing it.
 
@cpasjuste It seems the latest official release breaks the USB mass storage option from the + button menu. According to a friend, pressing A on it does nothing (compared to the build from @ShroomKing). I just wanted to let you know this.

Also, it seems the print code doesn't parse strings as UTF-8. This results in garbled text in the file browser while displaying file/directory names that hold UTF-8 codepoints. All fs strings should be handled as UTF-8.

@Kyrn using pPlay as an audio player sounds great. If possible, displaying files with unsupported extensions would be great - in the end, file extensions don't really mean anything at all.

Adding some sort of mark right next to videos that have already been played would be great as well.

Erf, unfortunately i can't really test usb stuff. Tomorrow i'll try to take a closer look to the changes I made, but I don't think I did modify something on the usb code from @ShroomKing. Would be great if he could debug that :)

For the utf part, this is something I need to do since a while in my libcross2d lib, but... well... :)
 
Last edited by cpasjuste,
@cpasjuste I recall @ShroomKing was looking for a way to update the elements from the + button menu at runtime. It'd be nice to actually display a submenu with all the available UMS devices instead of a hardcoded/configurable list.
Is it possible to use an usb-c pen drive? Is it possible to debug this (usb host) without a dock at all ?
 
Last edited by cpasjuste,
Is it possible to use an usb-c pen drive? Is it possible to debug this (usb host) without a dock at all ?
Yes. USB3 storage devices also implement the legacy Bulk-Only Transport protocol used by USB2 storage devices, which is also the protocol supported by my driver. And sure, you can use USB-C OTG adapters in handheld mode.
 
@cpasjuste Since you're here (for a short amount of time at least?) I'd like to thank you very much for the update and I wanna drop, that FTP does not work but worked in 2.1 according to other users here.
If you can fix FTP by any chance before you disappear again (which is well deserved!), that's be amazing!
I'd love to access my drive that is hanging on my Fritz!Box (popular german router).
 
Yes. USB3 storage devices also implement the legacy Bulk-Only Transport protocol used by USB2 storage devices, which is also the protocol supported by my driver. And sure, you can use USB-C OTG adapters in handheld mode.

Hi @DarkMatterCore,

I just installed the devkitpro switch environment today on a new computer (so all is stock), but liblwext4 fail to compile. Do you have an idea of what on going on ? :)
 
Hi @DarkMatterCore,

I just installed the devkitpro switch environment today on a new computer (so all is stock), but liblwext4 fail to compile. Do you have an idea of what on going on ? :)
Take a look at line 23. cmake is generating a command line for aarch64-none-elf-gcc where the specs file is defined twice - maybe that's the issue.

Which Linux distro are you using? And which steps did you exactly follow to compile lwext4?
 
Take a look at line 23. cmake is generating a command line for aarch64-none-elf-gcc where the specs file is defined twice - maybe that's the issue.

Which Linux distro are you using? And which steps did you exactly follow to compile lwext4?

I'm using ubuntu (20.04), and i just use "dkp-makepkg" for building. I'm used to pacman, i did handle a lot of switch packages, but i didn't want to go further yet :) I wonder if you could try to compile it with an up to date pacman packages (pacman -Syyu) to see if the problem is on my side.

What is very strange is i didn't had this problem yesterday on another computer (ubuntu 20.04 too) and an up to date pacman packages... Very strange...
 
I'm using ubuntu (20.04), and i just use "dkp-makepkg" for building. I'm used to pacman, i did handle a lot of switch packages, but i didn't want to go further yet :) I wonder if you could try to compile it with an up to date pacman packages (pacman -Syyu) to see if the problem is on my side.

What is very strange is i didn't had this problem yesterday on another computer (ubuntu 20.04 too) and an up to date pacman packages... Very strange...
Ok, it seems we've spotted a problem in latest devkitpro updates, "we" are working on it.
 
  • Like
Reactions: cucholix
I could gladly help you fix this using UTF-8 helper functions from libnx if you point me in the right direction. :)

Unfortunately this won't be easy. I need to implement this in my libcross2d library, but this will require some time (it should not break anything). But this is on my todo !
 

Site & Scene News

Popular threads in this forum