1. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    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, Jan 21, 2021
  2. Kyrn

    Kyrn Newbie
    Newcomer

    Joined:
    May 18, 2019
    Messages:
    7
    Country:
    Sweden
    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.
     
  3. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    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, Jan 21, 2021
    Kyrn, lordelan and DarkMatterCore like this.
  4. DarkMatterCore

    DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,245
    Country:
    Venezuela
    @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.
     
    cucholix likes this.
  5. cucholix

    cucholix Banners guy
    Member

    Joined:
    Jan 17, 2017
    Messages:
    2,573
    Country:
    Chile
    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.

    @DarkMatterCore beat me :P
     
    Last edited by cucholix, Jan 21, 2021
  6. DarkMatterCore

    DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,245
    Country:
    Venezuela
    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.
     
    lordelan and cucholix like this.
  7. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    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, Jan 21, 2021
  8. DarkMatterCore

    DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,245
    Country:
    Venezuela
    @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.
     
    ShroomKing likes this.
  9. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    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, Jan 21, 2021
  10. DarkMatterCore

    DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,245
    Country:
    Venezuela
    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.
     
  11. lordelan

    lordelan GBAtemp Psycho!
    Member

    Joined:
    Jan 4, 2015
    Messages:
    4,839
    Country:
    Germany
    @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).
     
  12. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    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 ? :)
     
  13. DarkMatterCore

    DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,245
    Country:
    Venezuela
    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?
     
  14. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    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...
     
  15. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    Ok, it seems we've spotted a problem in latest devkitpro updates, "we" are working on it.
     
    cucholix likes this.
  16. DarkMatterCore

    DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,245
    Country:
    Venezuela
    Seems like it, yeah. I just double checked and it's working fine for me after running "pacman -Syyu" - I'm on Windows using DKP msys2, though.
     
  17. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    On a side note i think i'll change how we switch "devices" (sdmc/usb/http). I think i will add a custom "root" directory with "/sdmc/" "/http"/ and "/umsX" so we don't have to use a menu or so for this.
     
  18. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    Hi,

    I just fixed USB, sorry for that. The good news is i found a way to easily debug usb (well i mean to use usb at all). So you'll find "pPlay 3.4" on the github release page.

    I plan to do a few fixes/changes in the next few days, i hope it will be ready for next week..
     
    Djakku, Malaixiyaren, Fgamer and 6 others like this.
  19. DarkMatterCore

    DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,245
    Country:
    Venezuela
    I could gladly help you fix this using UTF-8 helper functions from libnx if you point me in the right direction. :)
     
  20. cpasjuste

    OP cpasjuste GBAtemp Maniac
    Member

    Joined:
    Aug 27, 2015
    Messages:
    1,094
    Country:
    France
    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 !
     
    lordelan and mathew77 like this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - switch, player, pPlay