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

Maupiti

Hacking is so « Nice »
Member
Joined
Sep 16, 2018
Messages
1,038
Trophies
0
XP
2,454
Country
France
Thank you so much @tallbl0nde for this amazing homebrew, my favourite so far.., and thanks for the flac support, currently listening Tom Waits “Bad as me album”, on my soundbar, and would have never tought that a switch could do such a good sound.
And just to add, that when docked, the screen can be off, remembering some posts about that.
 
Last edited by Maupiti,

grootus

Member
Newcomer
Joined
Oct 23, 2018
Messages
23
Trophies
0
XP
106
Country
United States
The playlist only sort by song name by default. This mess up the album track list. Is there a way to sort by filename? Also is there an easy way to add an entire folder of songs?
 
  • Like
Reactions: vaugerbird

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,094
Country
Mali
Is there a way to deactivate the player in tesla menu on boot?
It is still making some games crash. I need to stop it before launching said games and I usually forget.
Now I'm facing a weird issue: this particular game "Kingdoms of Amalur: Re-Reckoning" won't start and causes crashes unless I delete the folder "4200000000000FFF" in atmosphere\contents or I stop the sysmodule from Tesla menu before launching it.
 
Last edited by Zumoly,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Is there a way to deactivate the player in tesla menu on boot?
It is still making some games crash. I need to stop it before launching said games and I usually forget.
Now I'm facing a weird issue: this particular game "Kingdoms of Amalur: Re-Reckoning" won't start and causes crashes unless I delete the folder "4200000000000FFF" in atmosphere\contents or I stop the sysmodule from Tesla menu before launching it.
https://github.com/tallbl0nde/TriPl...h-when-triplayer-is-running-in-the-background
and also:
https://github.com/tallbl0nde/TriPlayer/issues/31

To stop it on boot, delete 4200000000000FFF/flags/boot2.flag. Let me know if you're still facing issues after deleting that file.

When I have more free time and motivation, I'll get around to finally finishing support for other languages and also implement the blacklist feature.

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

The playlist only sort by song name by default. This mess up the album track list. Is there a way to sort by filename? Also is there an easy way to add an entire folder of songs?
Thanks for the feedback, I'm planning to add a folder view in the future which should cover the last point.
 

SL4Y3R

Member
Newcomer
Joined
Jan 10, 2021
Messages
17
Trophies
0
Age
24
XP
169
Country
Argentina
Hello, I have a problem, I just installed the player and started correctly, but when I add the mp3 files when I start it, it only stays in "preparing your library ..." it takes like 20min, I only add 100 songs, is it normal?
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,094
Country
Mali
https://github.com/tallbl0nde/TriPl...h-when-triplayer-is-running-in-the-background
and also:
https://github.com/tallbl0nde/TriPlayer/issues/31

To stop it on boot, delete 4200000000000FFF/flags/boot2.flag. Let me know if you're still facing issues after deleting that file.

When I have more free time and motivation, I'll get around to finally finishing support for other languages and also implement the blacklist feature.

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


Thanks for the feedback, I'm planning to add a folder view in the future which should cover the last point.

Thank you very much. This did the trick. I'm gonna use this setup for now. Conveniently enough I just need to restart the sysmodule from the homebrew.
 
  • Like
Reactions: tallbl0nde

bdg_0

New Member
Newbie
Joined
Mar 15, 2021
Messages
3
Trophies
0
Age
22
XP
34
Country
Italy
but is it normal that it takes more than 3 minutes to prepare my library for the first time?
I can't start it because it stays on the loading screen

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

Hello, I have a problem, I just installed the player and started correctly, but when I add the mp3 files when I start it, it only stays in "preparing your library ..." it takes like 20min, I only add 100 songs, is it normal?
I've the same problem bro

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

but is it normal that it takes more than 3 minutes to prepare my library for the first time?
I can't start it because it stays on the loading screen

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


I've the same problem bro
*30 minutes
 

SL4Y3R

Member
Newcomer
Joined
Jan 10, 2021
Messages
17
Trophies
0
Age
24
XP
169
Country
Argentina
but is it normal that it takes more than 3 minutes to prepare my library for the first time?
I can't start it because it stays on the loading screen

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


I've the same problem bro

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


*30 minutes
Hi man, the solution to the problem is here, follow the steps
https://github.com/tallbl0nde/TriPlayer/wiki/Known-Issues
 
  • Like
Reactions: tallbl0nde

cohsae

Member
Newcomer
Joined
Feb 1, 2021
Messages
5
Trophies
0
Age
74
XP
264
Country
Australia
Does this run on 12.0.0?
I've updated my firmware and I've got the latest atmosphere, hekate etc.
All my other homebrew is working fine but every time I try to run Triplayer I'm getting a crash "The software was closed because an error occurred." and I'm not sure what is causing it.

Edit:
Sorry just found the issues page on github and looks like this is a known issue
 
Last edited by cohsae,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Does this run on 12.0.0?
I've updated my firmware and I've got the latest atmosphere, hekate etc.
All my other homebrew is working fine but every time I try to run Triplayer I'm getting a crash "The software was closed because an error occurred." and I'm not sure what is causing it.

Edit:
Sorry just found the issues page on github and looks like this is a known issue
Yeah it'll be a while before it's working on 12.0.0 afaik, but I'm surprised it crashes cause I'm not using "atmosphere extensions". I think I gotta try compiling against the very latest libnx but idk how to build it from git just yet.

Could you add support for Spotify? They have an API available
There's two that I'm aware of... the one that's deprecated and could basically get your account banned or the public one which only lets you get low quality 30 second clips. I don't want to get people's accounts banned nor experience the headache of basically building a whole spotify client on something that shouldn't even be able to play music in the background... sorry.
 
D

Deleted User

Guest
not sure if I understood your problem with libnx correctly but you can just git clone it and build it with "make install"
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
not sure if I understood your problem with libnx correctly but you can just git clone it and build it with "make install"
I did that but then I can't compile the app as I'm using SDL, which needs to be updated for the HID changes in 4.0.0. On the proper libnx release it was fine, but it seems they've removed the functions entirely instead of just marking them as deprecated for the next version.
 
D

Deleted User

Guest
I did that but then I can't compile the app as I'm using SDL, which needs to be updated for the HID changes in 4.0.0. On the proper libnx release it was fine, but it seems they've removed the functions entirely instead of just marking them as deprecated for the next version.
Try an older version of libnx.
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
@tallbl0nde Just a request from me, but could maybe add some presets for the equalizer? Like Jazz, Hip-hop, or treble/bass.
I could but I'm a bit hesitant as that equalizer is pretty average, plus it only works on mp3 files. I was looking into how to write a proper equalizer back at the start of the year but then got sidetracked. However, I could happily add some presets if you or others know of some good ones, cause I'm only familiar with configuring them for extra bass :P
 
  • Like
Reactions: MagnesG

animalluver93

New Member
Newbie
Joined
May 18, 2021
Messages
2
Trophies
0
Age
30
XP
34
Country
United States
So I am stuck and I'm wondering how do i fix it on 11.01 for triplayer if i wanna do load it up i do the telsa and it says that it needs updated and I'm not sure what it is doing and then I am trying to upload it and it says software is not loaded what do need to do to fix im just wondering?
 

Sayshi

Active Member
Newcomer
Joined
May 4, 2021
Messages
26
Trophies
0
Age
25
XP
185
Country
New Zealand
Sorry to be a bother as it seems many other users are reporting things as well, but I have a weird error that has yet to be reported where it says:

"An error occurred communicating with the sysmodule. Check that it is running and up to date!" on the overlay.

I do however have the latest "sysmodules v1.2.1" unless there another I need?
Anyhelp would be much appreciated.
 

animalluver93

New Member
Newbie
Joined
May 18, 2021
Messages
2
Trophies
0
Age
30
XP
34
Country
United States
Sorry to be a bother as it seems many other users are reporting things as well, but I have a weird error that has yet to be reported where it says:

"An error occurred communicating with the sysmodule. Check that it is running and up to date!" on the overlay.

I do however have the latest "sysmodules v1.2.1" unless there another I need?
Anyhelp would be much appreciated.









I have the same problem and I can’t figure it out.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: good night