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

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Left it overnight. Still stuck at Scanning New Files
Give this one a run... same idea as before. Let it scan until it gets stuck and then take a look at the log to find the last entry.

Also regarding why it's not showing the same number of files - TriPlayer only looks for files ending in .mp3 or .MP3. So if you had .Mp3 (for example), they would be ignored. Also mp3tag handles more than just MP3's, so you may have other formats in there. If you don't have other formats in there, I'll have to look into this further.
 

Attachments

  • TriPlayer.zip
    5.4 MB · Views: 192

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,047
Trophies
1
Location
California
XP
6,072
Country
United States
NOW it works perfectly. It stopped at a much earlier file, so I redid it, then noticed 2 .mp3 Files with _ in the name after it. Redid the Names, and now it is working perfectly :D
Suggest adding a Listing by Folder along with the Playlist, Songs, Artist, and Albums
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
NOW it works perfectly. It stopped at a much earlier file, so I redid it, then noticed 2 .mp3 Files with _ in the name after it. Redid the Names, and now it is working perfectly :D
Suggest adding a Listing by Folder along with the Playlist, Songs, Artist, and Albums
Glad we got to the bottom of it! A few people have suggested that, so I'll definitely give it some consideration.

I might write a little script which can automatically rename a folder of files (on PC) in order to remove the bad characters. Hopefully that'll help reduce this problem in the future :P
 
  • Like
Reactions: vaugerbird

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,047
Trophies
1
Location
California
XP
6,072
Country
United States
Glad we got to the bottom of it! A few people have suggested that, so I'll definitely give it some consideration.

I might write a little script which can automatically rename a folder of files (on PC) in order to remove the bad characters. Hopefully that'll help reduce this problem in the future :P
Awesome. Great App and SysModule for the Switch :D . Especially for Racing Games, so Users can have their own going :D
 
  • Like
Reactions: zdvcz

zdvcz

Member
Newcomer
Joined
Nov 22, 2020
Messages
5
Trophies
0
Age
25
Location
Ha Noi
XP
165
Country
Vietnam
Awesome. Great App and SysModule for the Switch :D . Especially for Racing Games, so Users can have their own going :D
Create an account just to like your comment. Never agree more than this.

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

Wonderful hb on Switch. Now i can play Need for Speed Hot Pursuit with Initial D soundtrack in bg.
 

Oscillate

Member
Newcomer
Joined
May 15, 2019
Messages
22
Trophies
0
Age
26
XP
319
Country
United Kingdom
Would it be possible to implement a feature to mute all other audio besides triplayer? Perhaps with a toggle from the overlay?

In some games I do not need the game audio and this would save manually muting each game from their settings.

Love the work you've done on this, one of the best homebrew by miles!
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Would it be possible to implement a feature to mute all other audio besides triplayer? Perhaps with a toggle from the overlay?

In some games I do not need the game audio and this would save manually muting each game from their settings.
I'd like to do so, but I'm not sure if it's even possible.
 
  • Like
Reactions: Oscillate

Oscillate

Member
Newcomer
Joined
May 15, 2019
Messages
22
Trophies
0
Age
26
XP
319
Country
United Kingdom
I'd like to do so, but I'm not sure if it's even possible.

It's not that big of a deal, since it can be done manually.

Also, a major annoyance I've found with this is that I have to create a new playlist and add each song one by one. I have a .m3u8 playlist file and there seems to be no way for the app to read that or import it into a new playlist.

Is this something that could be implemented?
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
It's not that big of a deal, since it can be done manually.

Also, a major annoyance I've found with this is that I have to create a new playlist and add each song one by one. I have a .m3u8 playlist file and there seems to be no way for the app to read that or import it into a new playlist.

Is this something that could be implemented?
That's certainly something I can implement, I'd also probably incorporate it so that playlists can be exported in the .m3u8 format too. :)

EDIT: @Oscillate would you be able to upload one of yours for me to test with? It seems fairly simple but I'd like a real world file to test that everything works properly :P
 
Last edited by tallbl0nde,
  • Like
Reactions: Oscillate

Oscillate

Member
Newcomer
Joined
May 15, 2019
Messages
22
Trophies
0
Age
26
XP
319
Country
United Kingdom
That's certainly something I can implement, I'd also probably incorporate it so that playlists can be exported in the .m3u8 format too. :)

EDIT: @Oscillate would you be able to upload one of yours for me to test with? It seems fairly simple but I'd like a real world file to test that everything works properly :P

Perfect thank you! I have attached a bunch of mine, they vary in size so should be good to test.
 

Attachments

  • M3U8.zip
    11.6 KB · Views: 192
  • Like
Reactions: tallbl0nde

kazuki_chan8

Well-Known Member
Member
Joined
Mar 30, 2019
Messages
164
Trophies
0
Age
35
XP
209
Country
Malaysia
@tallbl0nde , i got few questions to ask:
1) How to start the triplayer sysmodule using tesla overlay menu? Seems like it got an error if i do this. Is it can only be started through the .nro file?
2) Once i opened the nro file & then when back to home without playing any song. Then i accessed the triplayer using tesla overlay menu but i cannot play the song? Seems like i need to play any song first by opening through nro, only then i can access the play/stop in tesla overlay menu. Is it like this?
If it possible, i want to start the triplayer sysmodule through tesla overlay menu & straight away play my songs in there. Hope to hear your reply soon.
 
Last edited by kazuki_chan8,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
@tallbl0nde , i got few questions to ask:
1) How to start the triplayer sysmodule using tesla overlay menu? Seems like it got an error if i do this. Is it can only be started through the .nro file?
2) Once i opened the nro file & then when back to home without playing any song. Then i accessed the triplayer using tesla overlay menu but i cannot play the song? Seems like i need to play any song first by opening through nro, only then i can access the play/stop in tesla overlay menu. Is it like this?
If it possible, i want to start the triplayer sysmodule through tesla overlay menu & straight away play my songs in there. Hope to hear your reply soon.
1) It's not possible, TriPlayer is designed that the application starts the sysmodule as it performs a few checks, etc.
2) Yep that's how it works. The overlay is basically controls everything, without being able to actually queue songs. Think of it like the controls a phone's lock screen.

Regarding doing everything through the overlay: it's not feasible at the moment, when the application says "Preparing your library" it's doing a bunch of things behind the scenes to ensure everything is working properly (such as checking all file metadata is up to date, etc). While the overlay could do these things, it definitely does not have enough memory to do so, plus it would take way longer due to how overlays run on the cpu.

If you want to do everything through the overlay I recommend sys-tune, however TriPlayer takes a different approach mainly due to interacting with a database as opposed to simply queuing files off of the sd card.
 

kazuki_chan8

Well-Known Member
Member
Joined
Mar 30, 2019
Messages
164
Trophies
0
Age
35
XP
209
Country
Malaysia
1) It's not possible, TriPlayer is designed that the application starts the sysmodule as it performs a few checks, etc.
2) Yep that's how it works. The overlay is basically controls everything, without being able to actually queue songs. Think of it like the controls a phone's lock screen.

Regarding doing everything through the overlay: it's not feasible at the moment, when the application says "Preparing your library" it's doing a bunch of things behind the scenes to ensure everything is working properly (such as checking all file metadata is up to date, etc). While the overlay could do these things, it definitely does not have enough memory to do so, plus it would take way longer due to how overlays run on the cpu.

If you want to do everything through the overlay I recommend sys-tune, however TriPlayer takes a different approach mainly due to interacting with a database as opposed to simply queuing files off of the sd card.
I see. Thanks for the info. Keep up the good work. I really appreciate it.
 
  • Like
Reactions: tallbl0nde

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Hi @tallbl0nde
Is folder play on the to-do list?
Yep it's planned. I'm a bit unsure on how to actually do it though as I've never seen this feature before :P

Should it list all folders that have songs in them, or should it make you navigate through them one by one (similar to a file browser) to get to the folder you want? I'd love to get some feedback from you and others so I do it properly! :)
 
  • Like
Reactions: Zumoly and Smoker1

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,109
Country
Mali
Yep it's planned. I'm a bit unsure on how to actually do it though as I've never seen this feature before :P

Should it list all folders that have songs in them, or should it make you navigate through them one by one (similar to a file browser) to get to the folder you want? I'd love to get some feedback from you and others so I do it properly! :)

Thank you very much Sir for taking the time.
Yes folder play is similar to a file browser and when you navigate to the folder it shows the songs it contains which you can play as a playlist.
If you have a Samsung device, you download the Samsung Music app and give it a go.
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Thank you very much Sir for taking the time.
Yes folder play is similar to a file browser and when you navigate to the folder it shows the songs it contains which you can play as a playlist.
If you have a Samsung device, you download the Samsung Music app and give it a go.
Thanks! I actually use Samsung Music every now and then and didn't even notice there was a folder option :P
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Version 1.1.0 is available now! It adds both FLAC and WAV support, as well playlist import/export along with a few fixes. Unfortunately I missed a bug in my update code which causes the installation to fail when updated in-app. Because of this you'll have to manually copy over the files and reboot your switch to ensure everything is good to go. I believe I've fixed this for future updates :)

You can find it here:
https://github.com/tallbl0nde/TriPlayer/releases/tag/v1.1.0
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=fv6vlP2qSyo