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
700
Trophies
0
XP
1,476
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
11
Trophies
0
XP
57
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,787
Trophies
0
Location
Yorosso
XP
2,343
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
146
Trophies
0
Age
22
XP
1,399
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
22
XP
124
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,787
Trophies
0
Location
Yorosso
XP
2,343
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
20
XP
13
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
22
XP
124
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

New Member
Newbie
Joined
Feb 1, 2021
Messages
4
Trophies
0
Age
72
XP
117
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
146
Trophies
0
Age
22
XP
1,399
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
146
Trophies
0
Age
22
XP
1,399
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
146
Trophies
0
Age
22
XP
1,399
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
28
XP
14
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

Member
Newcomer
Joined
May 4, 2021
Messages
23
Trophies
0
Age
23
XP
102
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
28
XP
14
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.
 
General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Lol I'm on one date right now and another one later 🤔
    Gift
  • mthrnite @ mthrnite:
    slow down there greg brady, let somebody else have a girlfriend
    Gift
  • mthrnite @ mthrnite:
    a theyfriend, is that what we call 'em now?
    Gift
  • KenniesNewName @ KenniesNewName:
    Thank you for being a friend travel down the road and back again
    Gift
  • mthrnite @ mthrnite:
    I have that 45.
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Psi’s following the modern way of dating
    Gift
  • Dark_Phoras @ Dark_Phoras:
    To be honest, it’s what would make me more comfortable personally, going out with several people in the purpose of knowing them.
    Gift
  • Dark_Phoras @ Dark_Phoras:
    But people here are very tight, they only date after the start of the relationship, which doesn’t make sense if the idea is getting to know the other person
    Gift
  • KenniesNewName @ KenniesNewName:
    But yet if a female did that we'd be calling them a whore right now
    Gift
  • mthrnite @ mthrnite:
    I just flirt with everybody and let god sort em out
    Gift
  • mthrnite @ mthrnite:
    occasionally someone will flirt back then it's on like donkey kong
    Gift
  • KenniesNewName @ KenniesNewName:
    And then we'll get a story about how someone's heart is broken
    Gift
  • mthrnite @ mthrnite:
    thank you for putting me in the friend zoooone
    Gift
  • KenniesNewName @ KenniesNewName:
    Your heart is true you're a friend and a confident
    Gift
  • mthrnite @ mthrnite:
    meanwhile psy is dating both wilma and betty
    Gift
  • KenniesNewName @ KenniesNewName:
    On this episode of the Golden guys
    Gift
  • mthrnite @ mthrnite:
    all pys's gotta do is say "how YOU doin?" and all the girls get boners :(
    Gift
  • KenniesNewName @ KenniesNewName:
    You have 3 visa cards you say?
    Gift
  • KenniesNewName @ KenniesNewName:
    Sonic done gave me constipation I'm on God's good hands now
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Girls get called whores if they wear a short skirt in some places. The western world is becoming better in that aspect, though, as religious dogmas are put to rest
    Gift
  • KenniesNewName @ KenniesNewName:
    I'd be more open to screwning everything that says yes if HIVs we're more cureable
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I'm not even sure if it's fair to consider them religious. They're more community dogmas
    +1
    Gift
  • KenniesNewName @ KenniesNewName:
    Going to go watch YouTube in hopes I'll see an ad for HIV pills
    Gift
  • Dark_Phoras @ Dark_Phoras:
    @KenniesNewName Sonic done - ?
    Gift
  • KenniesNewName @ KenniesNewName:
    Sonic done did it did
    Gift
    KenniesNewName @ KenniesNewName: Sonic done did it did