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

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,250
Country
China
2 bugs about overlay,
Korean still cannot be displayed correctly.d4.png
Some songs are still mix the title and artist's name.
2020-11-11_09-29-59~01.png
↑↑↑
title:octopath...
artist:西木康智
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
2 bugs about overlay,
Korean still cannot be displayed correctly.View attachment 235610
Some songs are still mix the title and artist's name.
View attachment 235612
↑↑↑
title:octopath...
artist:西木康智
Did that happen on 1.0.0? Cause I didn't change the overlay in any ways that should change how the text is shown. It might have something to do with libTesla if they're not being shown, I'll need to double check though.
 

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,250
Country
China
Did that happen on 1.0.0? Cause I didn't change the overlay in any ways that should change how the text is shown. It might have something to do with libTesla if they're not being shown, I'll need to double check though.
yes, they're all old bugs, still happen on 1.0

--------------------- MERGED ---------------------------

Also, anyone who uses Nero Waveditor, be sure to Edit the Album, as it is now ys*Chinese Letters*
Sorry for my pool english, I just wonder what is "ys"?:blink:
 
  • Like
Reactions: tallbl0nde

Cylent1

Community Smart Ass!
Member
Joined
Oct 5, 2015
Messages
916
Trophies
0
Location
The most communist country in the world!
XP
2,437
Country
United States
I know it says it's compatible with Atmosphere, but I found a bug using this with my SX Core v1 unpatched.
About 15 xci's don't work from the hdd while this is installed. Removed this and they worked correctly again.
I would love to get support for SXOS as this is a really nice Homebrew!
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
I know it says it's compatible with Atmosphere, but I found a bug using this with my SX Core v1 unpatched.
About 15 xci's don't work from the hdd while this is installed. Removed this and they worked correctly again.
I would love to get support for SXOS as this is a really nice Homebrew!
Is it causing them to crash as soon as you try to launch them, or soon after the game starts loading? My guess is either SX needs some more RAM for mounting the .xcis, or those games are trying to use 2 audio sessions.
 

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,250
Country
China
When I export a playlist with a non-English name, it will be exported as ".m3u8". When I try to import it, Triplayer can't find this unnamed file. I rename it as"1.m3u8" then everything works fine.
 

Cylent1

Community Smart Ass!
Member
Joined
Oct 5, 2015
Messages
916
Trophies
0
Location
The most communist country in the world!
XP
2,437
Country
United States
Is it causing them to crash as soon as you try to launch them, or soon after the game starts loading? My guess is either SX needs some more RAM for mounting the .xcis, or those games are trying to use 2 audio sessions.
As soon as I try to launch them I get a 2162-0002 error.
 
Last edited by Cylent1, , Reason: Replaced wrong error code with the right one.

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
search for album image
View attachment 235674
search for artist image
I can't find the relevant text in en.json, did you miss it?
View attachment 235675
Yep I obviously missed those, I went over all ~300 lines twice and still missed some, that's annoying!

When I export a playlist with a non-English name, it will be exported as ".m3u8". When I try to import it, Triplayer can't find this unnamed file. I rename it as"1.m3u8" then everything works fine.
That's because I forgot to account for an all non-English name, my bad. Easy fix!

As soon as I try to launch them I get a 2162-0002 error.
Apparently that code indicates the .xcis "path does not exist". No clue why this would be causing that to happen. It would be great if you had a crash dump like what Atmosphere does but I believe sx doesn't do that?
 

Cylent1

Community Smart Ass!
Member
Joined
Oct 5, 2015
Messages
916
Trophies
0
Location
The most communist country in the world!
XP
2,437
Country
United States
Apparently that code indicates the .xcis "path does not exist". No clue why this would be causing that to happen. It would be great if you had a crash dump like what Atmosphere does but I believe sx doesn't do that?
I had given the wrong error code. My mistake.\
Here is the right error code - 2162-0002
I also updated the error code on my post also.
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
I had given the wrong error code. My mistake.\
Here is the right error code - 2162-0002
I also updated the error code on my post also.
Ah right, well that error code is more of a generic one. Does it show the title id of the program that crashed like Atmosphere does? Cause it could be TriPlayer crashing, although I haven't ever seen it crash with that code before.
 

Cylent1

Community Smart Ass!
Member
Joined
Oct 5, 2015
Messages
916
Trophies
0
Location
The most communist country in the world!
XP
2,437
Country
United States
Ah right, well that error code is more of a generic one. Does it show the title id of the program that crashed like Atmosphere does? Cause it could be TriPlayer crashing, although I haven't ever seen it crash with that code before.
No title id shown just the sxos logo and error code. also tells me to restart the console.
 
Last edited by Cylent1,

vaugerbird

Well-Known Member
Newcomer
Joined
Nov 1, 2020
Messages
47
Trophies
1
Location
West Coast
XP
948
Country
United States
I cannot for the life of me figure out how to get the playlist file import to work. Every time I import the playlist file it says that it can't find the songs, even though it can see that there is songs in the playlist file. I see on the GitHub release it say that I need to set relative paths, but I don't know how to do that. I'll attach my current playlist file in a zip if anyone wants help me figure out what I did wrong.
 

Attachments

  • playlist.zip
    4.9 KB · Views: 110

Oscillate

Member
Newcomer
Joined
May 15, 2019
Messages
22
Trophies
0
Age
26
XP
319
Country
United Kingdom
I cannot for the life of me figure out how to get the playlist file import to work. Every time I import the playlist file it says that it can't find the songs, even though it can see that there is songs in the playlist file. I see on the GitHub release it say that I need to set relative paths, but I don't know how to do that. I'll attach my current playlist file in a zip if anyone wants help me figure out what I did wrong.

Is the file in the same directory as your music? I had this issue as mine was sorted in folders and the playlist file had to be in a folder to detect my music.
 
  • Like
Reactions: vaugerbird

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: 👈 Always touching 🍆 +1