TriPlayer - A feature-rich audio player for Nintendo Switch

wd7qBy2.png


Hey everyone! I'd like to introduce a little something I've been working on since February. After 9 months I believe it's at a state where it's ready for a public release!

Let me introduce TriPlayer, my project that came to be due to the lack of a "proper" audio player for the Nintendo Switch. TriPlayer automatically scans and organizes any audio files you have in the /music folder on the root of your SD card. As pictures speak a thousand words, I'll let the following screenshot help describe it:

ci80MLQ.jpg

As you can see, it handles the metadata embedded within audio files in order to create a complete music library. The music will keep playing while you're playing a game or using another application. Playback can be controlled via the provided Tesla overlay or by pressing button combinations on the controller.

Requirements:
  • A recent version of Atmosphere (0.10.0+)
    • TriPlayer may work on other CFWs, however this is untested
    • The sysmodule requires ~3MB of free memory, so this may clash with other sysmodules
  • A recent firmware version
    • Once again this hasn't been tested, but some code relies on newer firmwares so I suggest 10.0.0+
  • Some music!
    • FLAC, MP3 and WAV are supported at this time
Installation:

1. Download the latest release as a .zip from here
2. Extract the contents to the root of your SD card
3. Place some music in /music
4. Launch the application and wait for the initial scan to complete

GitHub:

A lot more information and usage is covered on my GitHub repo. See the readme for a brief introduction and link to the wiki where everything is covered in detail.
https://github.com/tallbl0nde/TriPlayer

Final Notes:

I hope TriPlayer is useful to many of you who have been wanting a music player on the Switch. As it's quite complex, there's a good chance I've missed some major bugs. Please report these as issues on GitHub. Note that should the sysmodule crash, it will crash the entire OS. While I personally haven't had any crashes while both listening and not listening to music, I recommend stopping the sysmodule (either via the app or overlay) when you're not using it if you want to be extra safe.

Enjoy! :)
 
Last edited by tallbl0nde, , Reason: Update supported formats

crazy_p

Well-Known Member
Member
Joined
Sep 3, 2016
Messages
814
Trophies
1
XP
2,791
Country
Switzerland
Just have EdiZon, Status Monitor, sys-clk, and TriPlayer.

Works as intended for me i only have noexs & sysftplight running.
I can back out the Player from the Album and the Forwarder and access the Overlay without any
Problem. I can even run the Overlay and App together and they are in sync.

I also switched from Tony Hawks to the Overlay and Album then back to Tony Hawks.
 
  • Like
Reactions: Smoker1

tallbl0nde

Well-Known Member
Member
Joined
Jan 11, 2019
Messages
142
Trophies
0
Age
21
XP
1,182
Country
Australia
NSP Forwarder thanks to @crazy_p
https://gbatemp.net/attachments/triplayer-01320a1f9a192000-zip.271351/

EDIT - Only problem with the App
Run TriPlayer
Select MP3 File
Exit App
Run the Overlay (L+DPad D+R3)
select the TriPlayer Sysmodule
audio will stop, but the Pause/Play Button will show it is still playing.
Temp Solution:
Back out of TriPlayer Module
get back in it
go to the Play/Pause, and press the B Button (which backs you out), but if you do it right, the MP3 will start playing again.

EDIT 2: Also, when trying to show the SysModule again, it wont show up for some reason. Also the Sysmodule will apparently stop after a while.
I actually didn't change any code in the sysmodule itself, so I find it weird these issues have been introduced now. It could be an out-of-memory issue like @crazy_p mentioned, what FW + CFW are you using?

Edit: I'm gonna assume what's in your signature thingy :P
 
  • Like
Reactions: Smoker1 and crazy_p

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
4,143
Trophies
1
Location
California
XP
4,114
Country
United States
I actually didn't change any code in the sysmodule itself, so I find it weird these issues have been introduced now. It could be an out-of-memory issue like @crazy_p mentioned, what FW + CFW are you using?

Edit: I'm gonna assume what's in your signature thingy :P
LOL. Yup. Updated my Signature when I Updated everything
 

Sayshi

Member
Newcomer
Joined
May 4, 2021
Messages
21
Trophies
0
Age
22
XP
85
Country
New Zealand
Quick question, is there an overlay for this? I checked on GitHub but can't seem to find it.

Fantastic work on triplayer by the way! It works flawlessly so far and I couldn't be happier. Thank you so much!

EDIT: Some games such as NES Nintendo switch online and some homebrew apps crash because of Triplayer. Can this be fixed?
 
Last edited by Sayshi,

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
77
Trophies
0
XP
291
Country
United States
Quick question, is there an overlay for this? I checked on GitHub but can't seem to find it.

Fantastic work on triplayer by the way! It works flawlessly so far and I couldn't be happier. Thank you so much!

EDIT: Some games such as NES Nintendo switch online and some homebrew apps crash because of Triplayer. Can this be fixed?

If you actually read the first post and documentation on github that the developer took time to put together you'd have both of your answers within 30 seconds instead of needing to be spoonfed.
 
  • Like
Reactions: crazy_p

Lenks

Well-Known Member
Newcomer
Joined
Mar 8, 2020
Messages
94
Trophies
0
Age
34
XP
456
Country
Bulgaria
Tried TriPlayer through the weekend. Everything works good with no problems or crashes. Sad that you can't control game volume and player volume independently (but that's more BOTW fault, not the Player I think)... I only use it with long MP3 files (Podcasts, eBooks) and I didn't have problems starting them.
 

Sayshi

Member
Newcomer
Joined
May 4, 2021
Messages
21
Trophies
0
Age
22
XP
85
Country
New Zealand
If you actually read the first post and documentation on github that the developer took time to put together you'd have both of your answers within 30 seconds instead of needing to be spoonfed.

I don't understand your hostility, I looked and the GitHub nor first post explains why the overlay isn't included in the most recent 1.1.1 download.
Surely this is a valid question?

I swear the omission of the overlay isn't documented anywhere. If it's explained why then feel free to show me, otherwise I humbly stand my ground.

Regarding the second question, I understand that Triplayer uses 1 of the two available sessions, and thus crashes when a game tries to use two.
The intended solution to this is to stop the Triplayer sysmodule, but again without the overlay I can't do that, hence my asking.
 
Last edited by Sayshi,

tallbl0nde

Well-Known Member
Member
Joined
Jan 11, 2019
Messages
142
Trophies
0
Age
21
XP
1,182
Country
Australia
I don't understand your hostility, I looked and the GitHub nor first post explains why the overlay isn't included in the most recent 1.1.1 download.
Surely this is a valid question?

I swear the omission of the overlay isn't documented anywhere. If it's explained why then feel free to show me, otherwise I humbly stand my ground.

Regarding the second question, I understand that Triplayer uses 1 of the two available sessions, and thus crashes when a game tries to use two.
The intended solution to this is to stop the Triplayer sysmodule, but again without the overlay I can't do that, hence my asking.
I just downloaded the latest release and it's definitely there at `/switch/.overlays/ovl-TriPlayer.ovl`. Are you using macOS/Linux? If so the folder would be hidden as it has a `.` at the start of it's name.
 

Sayshi

Member
Newcomer
Joined
May 4, 2021
Messages
21
Trophies
0
Age
22
XP
85
Country
New Zealand
I just downloaded the latest release and it's definitely there at `/switch/.overlays/ovl-TriPlayer.ovl`. Are you using macOS/Linux? If so the folder would be hidden as it has a `.` at the start of it's name.
Ahh, that was indeed the issue. Thank you so much!
Sorry for inconveniencing you all. Feel really silly now ><;

Once again, thank you so, so much for making triplayer!
Interestingly, the Triplayer Sysmodule doesn't appear in the Sysmodules tesla overlay and thus cannot be toggled. I wonder if it's just my switch tesla menu being bugged...
 

tallbl0nde

Well-Known Member
Member
Joined
Jan 11, 2019
Messages
142
Trophies
0
Age
21
XP
1,182
Country
Australia
Ahh, that was indeed the issue. Thank you so much!
Sorry for inconveniencing you all. Feel really silly now ><;

Once again, thank you so, so much for making triplayer!
Interestingly, the Triplayer Sysmodule doesn't appear in the Sysmodules tesla overlay and thus cannot be toggled. I wonder if it's just my switch tesla menu being bugged...
You're welcome!
It doesn't appear because toggling a sysmodule in Tesla/Kosmos Toolbox straight up 'kills' the process, not allowing it to exit cleanly. If this happens, the part of the sysmodule responsible for communication between the sysmodule and application/overlay won't start properly until the Switch is rebooted. There's a 'Stop Sysmodule' button in the TriPlayer overlay which stops it cleanly to make up for this.
 
  • Like
Reactions: Sayshi

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
77
Trophies
0
XP
291
Country
United States
I don't understand your hostility, I looked and the GitHub nor first post explains why the overlay isn't included in the most recent 1.1.1 download.

Yeah that was a bit harsh, I apologize. Seems you were a victim of your operating system.
 
  • Like
Reactions: Sayshi

Sandmann

Member
Newcomer
Joined
Oct 30, 2016
Messages
23
Trophies
0
XP
131
Country
Germany
Hello, there is a bug!

The TriPlayer v1.1.1 crashes in the following games: Ghostrunner and WRC9.
Can you fix it please?

Switch 12.1.0
Atmosphere 0.19.5-master-9df13781)
Error Code: 2162-002 (0X4a2)
Program: 0100000000000014

If I switch off the overlay (triplayer), the game starts again.

Thanks!
 

Maupiti

Hacking is so « Nice »
Member
Joined
Sep 16, 2018
Messages
535
Trophies
0
XP
1,047
Country
France
Hello, there is a bug!

The TriPlayer v1.1.1 crashes in the following games: Ghostrunner and WRC9.
Can you fix it please?

Switch 12.1.0
Atmosphere 0.19.5-master-9df13781)
Error Code: 2162-002 (0X4a2)
Program: 0100000000000014

If I switch off the overlay (triplayer), the game starts again.

Thanks!
Do you have other sysmodules running when playing these games with TriPlayer enabled ?
 

tallbl0nde

Well-Known Member
Member
Joined
Jan 11, 2019
Messages
142
Trophies
0
Age
21
XP
1,182
Country
Australia

Maupiti

Hacking is so « Nice »
Member
Joined
Sep 16, 2018
Messages
535
Trophies
0
XP
1,047
Country
France
Hello, there is a bug!

The TriPlayer v1.1.1 crashes in the following games: Ghostrunner and WRC9.
Can you fix it please?

Switch 12.1.0
Atmosphere 0.19.5-master-9df13781)
Error Code: 2162-002 (0X4a2)
Program: 0100000000000014

If I switch off the overlay (triplayer), the game starts again.

Thanks!
Now that you mentioned it, I remember having an issue in ghostrunner , making the game crash…only because the sysmodule was enabled.
 
Last edited by Maupiti,
  • Like
Reactions: Sandmann

jnl1

Well-Known Member
Member
Joined
Jan 12, 2020
Messages
155
Trophies
0
Age
33
XP
475
Country
Germany
Sorry, but somehow this does not work correctly on my switch with atmosphere 0.19.5, triplayer 1.1.1 and FW 11.0.
When using the overlay there comes the message "can´t connect to sysmodule", starting the homebrew via .nro works though.
But starting the triplayer before a game, the game then crashes. Starting the game first and then the homebrew via .nro it works...

Any hints on these issues?
 
General chit-chat
Help Users
    gudenau @ gudenau: Well I posted in the bug thread.