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

vaugerbird

Well-Known Member
Newcomer
Joined
Nov 1, 2020
Messages
47
Trophies
1
Location
West Coast
XP
955
Country
United States
I know I posted earlier, but now I'm stuck. I fixed the song titles, but it is still stuck on "Preparing your library...". I have already rebooted and double checked the file names and song metadata, but I can't figure it out. I'm on Atmosphere 0.15.0 and FW 10.1.0. Any help would be great!

EDIT: I have also tried replacing all of the files.
 
Last edited by vaugerbird,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
I know I posted earlier, but now I'm stuck. I fixed the song titles, but it is still stuck on "Preparing your library...". I have already rebooted and double checked the file names and song metadata, but I can't figure it out. I'm on Atmosphere 0.15.0 and FW 10.1.0. Any help would be great!

EDIT: I have also tried replacing all of the files.
I can't think of anything else that would cause an issue off the top of my head, my only suggestion at this point then is to perhaps add folders/songs in groups and that way you can narrow down which ones are causing any problems. Once we know what the issue is I can work on fixing it ;)
 
  • Like
Reactions: vaugerbird

vaugerbird

Well-Known Member
Newcomer
Joined
Nov 1, 2020
Messages
47
Trophies
1
Location
West Coast
XP
955
Country
United States
I can't think of anything else that would cause an issue off the top of my head, my only suggestion at this point then is to perhaps add folders/songs in groups and that way you can narrow down which ones are causing any problems. Once we know what the issue is I can work on fixing it ;)

Ok, will do. I'll report back when I figure it out.
 
  • Like
Reactions: tallbl0nde

vaugerbird

Well-Known Member
Newcomer
Joined
Nov 1, 2020
Messages
47
Trophies
1
Location
West Coast
XP
955
Country
United States
I can't think of anything else that would cause an issue off the top of my head, my only suggestion at this point then is to perhaps add folders/songs in groups and that way you can narrow down which ones are causing any problems. Once we know what the issue is I can work on fixing it ;)

I was just thinking, would a space count as an illegal character? 'Cuz all of the files have spaces in the filenames.

EDIT: No, they are fine, it's something else.

EDIT 2: I'm not sure what the problem was quite yet, but I at least got it to load the songs by changing their names to be the position number in the playlist the songs are downloaded from.
 
Last edited by vaugerbird,

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,116
Country
Mali
I have to thank you for this awesome homebrew Sir.
Just yesterday I was picturing how to replace the music in NFS and now I stumble upon this.
I didn't test it yet but I hope there is folder play. If not that'd be a great addition.
Thanks a bunch for your amazing effort.!
 
  • Like
Reactions: tallbl0nde

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
I'm not sure what the problem was quite yet, but I at least got it to load the songs by changing their names to be the position number in the playlist the songs are downloaded from.

At least that indicates it's a file path issue, were any of them really long?
 

TheRedfox

blep
Member
Joined
May 17, 2012
Messages
229
Trophies
0
Location
Nope
XP
489
Country
Netherlands
Re FLAC support
Are that many people in a hurry to waste their storage space? Can you actually hear a difference at the best of times? Is the Switch's DAC and audio setup even vaguely near "best of times"?

As an archival format then yeah sure FLAC is as good as any other lossless format but as a day to day playback... why?

Regarding the switch audio setup, using the analog 3.5mm output would not be the best quality possible probably like you said. But through the HDMI you'll have the best quality for CD quality flacs(bitstreaming the PCM strean to the decoder/receiver), as it's just throwing digital bits 1:1.
 

vaugerbird

Well-Known Member
Newcomer
Joined
Nov 1, 2020
Messages
47
Trophies
1
Location
West Coast
XP
955
Country
United States
At least that indicates it's a file path issue, were any of them really long?

Boy am I unobservant! Turns out I had 2 songs with "é" (from Pokémon) in the file names. Renamed those two songs and works like a charm!

EDIT: After playing around with the app for a bit, I'd like to make a suggestion for an option to sort a playlist by date added, if possible?
 
Last edited by vaugerbird,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Boy am I unobservant! Turns out I had 2 songs with "é" (from Pokémon) in the file names. Renamed those two songs and works like a charm!

EDIT: After playing around with the app for a bit, I'd like to make a suggestion for an option to sort a playlist by date added, if possible?
Glad to hear it's sorted! I can add that :)

could there be an audiobook? category for audiobooks files
Maybe, I would like everything to be automatically sorted so it would depend on whether or not audiobooks can be identified with the metadata in the files.
 
  • Like
Reactions: vaugerbird

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,251
Country
China
Something about the album picture: I downloaded music from Netease cloudmusic (a music website/software in my country), before that I downloaded music from their PC software, TriPlayer couldn't recognize the album pictures of those music. Today I tried using Netease cloudmusic's android app to download some music, :toot:now TriPlayer can recognize their album pictures.
I guess, maybe when I downloaded the music from PC they made some changes (about the album picture) to the file. :shy:If that's the case, you don't need to waste your time to researching them.
Another thing, some of my music the artist is tagged as "Artist A/Artist B", TriPlayer treats "Artist A/Artist B" as one artist.
 
Last edited by UltimateFight,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
I guess, maybe when I downloaded the music from PC they made some changes (about the album picture) to the file. :shy:If that's the case, you don't need to waste your time to researching them.
Another thing, some of my music the artist is tagged as "Artist A/Artist B", TriPlayer treats "Artist A/Artist B" as one artist.
I already found the issue with the art, your images were set as "Media". TriPlayer only accepts for "Front Cover" or "Other". I'll probably still edit this so that if it can't find a cover it will accept any image.

Unfortunately I don't have any plans at the moment to handle multiple artists (mainly due to having to redo a fair chunk of the database side of things), but I might consider it in the future. What I do with my music is have the main artist set as the artist and then put the others in the song title.
 
  • Like
Reactions: UltimateFight

bigdom89

Well-Known Member
Member
Joined
Sep 18, 2018
Messages
123
Trophies
0
Age
34
XP
1,437
Country
United States
Wow great work and it works great! Now to work on getting video to work properly! LOL! No seriously! lol
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,218
Trophies
2
XP
34,277
Country
Mexico
Gotta say, this is an absolute beast of a homebrew.
I love to see media playing applications as homebrew on different consoles, and this is shaping up to become quite a good one.
Kudos to the developer!

I dream of this evolving in the future into a fully fledge media player, capable of playing audio and video :D
 

Martinez

New Member
Newbie
Joined
Oct 3, 2020
Messages
4
Trophies
0
XP
110
Country
Poland
"It tells me that he is unable to connect to sysmodule"

On SX OS you need to move 4200000000000FFF folder from atmosphere\contents to /sxos/titles
 
Last edited by Martinez,
  • Like
Reactions: tallbl0nde

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/j-JgIxFZTKY?si=9yG57ooZm1wvSOsz