Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

TriPlayer Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=TriPlayer |image=triplayerswitch.png |description=A feature-rich audio player for Nintendo Switch. |author=tallbl0nde |lastupdated=2021/07/25 |type=Media players |version=1.1.1 |license=MIT |download=https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch.7z |website=https://gbatemp.net/threads/triplayer-a-feature-rich-audio-player-for-nintendo-switch.576515/ |source=https://github.com/tallbl0nde/TriPlayer |donation=https://github.com/...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=TriPlayer
|title=TriPlayer
|image=triplayerswitch.png
|image=triplayernx.png
|description=A feature-rich audio player for Nintendo Switch.
|description=A feature-rich background audio player for Nintendo Switch (requires Atmosphere).
|author=tallbl0nde
|author=tallbl0nde
|lastupdated=2021/07/25
|lastupdated=2021/07/25
Line 8: Line 8:
|version=1.1.1
|version=1.1.1
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/triplayernx.7z
|website=https://gbatemp.net/threads/triplayer-a-feature-rich-audio-player-for-nintendo-switch.576515/
|website=https://gbatemp.net/threads/triplayer-a-feature-rich-audio-player-for-nintendo-switch.576515/
|source=https://github.com/tallbl0nde/TriPlayer
|source=https://github.com/tallbl0nde/TriPlayer
|donation=https://github.com/tallbl0nde/TriPlayer#support-3
|donation=https://github.com/tallbl0nde/TriPlayer#support-3
}}
}}
{{#seo:
TriPlayer is a feature-rich audio player for the Nintendo Switch. It is able to play music in the background, including when playing games or on the HOME menu.
|title=Switch Homebrew Apps (Media players) - GameBrew
 
|title_mode=append
To use TriPlayer, a Nintendo Switch console with the capability of running [[Atmosphere Switch|Atmosphere]] is required. It gained it's name as it consists of three separate components, and initially its ability to play MP3 files.
|image=triplayerswitch.png
|image_alt=TriPlayer
}}
TriPlayer is an audio player designed for the Nintendo Switch, offering a multitude of features. It allows for music to be played in the background while gaming or navigating the HOME menu.


To use TriPlayer, a Nintendo Switch console with the capability of running [[Atmosphere Switch]] is required. Its name stems from its composition of three distinct components and its initial focus on MP3 file playback.
The documentation is located [https://github.com/tallbl0nde/TriPlayer/wiki/ here].


==Features==
==Features==
* Audio playback while in-game
* Audio playback while in-game.
* No impact on game performance (runs on separate CPU core)
* No impact on game performance (runs on separate CPU core).
* Automatically organized library based on ID3 metadata
* Automatically organized library based on ID3 metadata.
* Album/artist image scraping via TheAudioDB
* Album/artist image scraping via TheAudioDB.
* Custom playlists
* Custom playlists.
* Fast library search
* Fast library search.
* Ability to add and remove songs to play queue
* Ability to add and remove songs to play queue.
* Beautiful and easy to navigate interface
* Beautiful and easy to navigate interface.
* Highly customizable with many settings that can be changed
* Highly customizable with many settings that can be changed.
* Basic 32-band equalizer
* Basic 32-band equalizer.
* Update in-app
* Update in-app.
* And many more, download it to see for yourself! :)
* And many more.
*Supported audio formats:
* Supported audio formats:
** FLAC
** FLAC
** MP3
** MP3
** WAV
** WAV


==Requirements==
==Installation==
* A recent version of Atmosphere (0.10.0+)
===Requirements===
** TriPlayer may work on other CFWs, however this is untested
* A recent version of Atmosphere (0.10.0+):
** The sysmodule requires ~3MB of free memory, so this may clash with other sysmodules
** TriPlayer may work on other CFWs, however this is untested.
* A recent firmware version
** The sysmodule requires ~3MB of free memory, so this may clash with other sysmodules.
** Once again this hasn't been tested, but some code relies on newer firmwares so I suggest 10.0.0+
* A relatively up-to-date firmware:
* Some music!
** Some components require functionality that was added to later firmwares, so 10.0.0+ is currently supported.
** FLAC, MP3 and WAV are supported at this time
* Some music:
** FLAC, MP3 and WAV are supported at this time.


==Installation & Updating==
===Installing===
===Installation===
To install this software, follow these steps, which are similar to other homebrew installations:
To install this software, follow these steps, which are similar to other homebrew installations:


# Download the latest release from here.
* Download the latest release from [https://github.com/tallbl0nde/TriPlayer/releases/latest here].
# Extract the downloaded .zip file to any location you prefer.
* Extract the downloaded .zip file to any location you prefer.
# Copy the extracted folders to the root of your SD card. The atmosphere and switch folders should be copied to the same location as the existing atmosphere and switch folders. These folders will automatically merge, and you should overwrite any files when prompted.
* Copy the extracted folders to the root of your SD card.  
# Congratulations! You have successfully installed the software. You can now delete the downloaded .zip file and extracted folder from your computer.
** You should be copying the <code>atmosphere</code> and <code>switch</code> folders to the location on your SD card which also contains the <code>atmosphere</code> and <code>switch</code> folders. These folders will be merged automatically. If prompted, overwrite any files necessary.
 
That's it, you can now delete the downloaded .zip file and extracted folder from your computer.


===Updating (Manual)===
===Updating (Manual)===
It is recommended to update the software within the application to avoid errors. However, if you must update manually, follow these instructions:
It is recommended to update the software within the application to avoid errors. However, if you must update manually, follow these instructions:


# Download the latest release from here.
* Download the latest release from here.
# Extract the downloaded .zip file to any location you prefer.
* Extract the downloaded .zip file to any location you prefer.
# Copy the extracted folders to the root of your SD card. The atmosphere and switch folders should be copied to the same location as the existing atmosphere and switch folders. These folders will automatically merge, and you should overwrite all files when prompted.
* Copy the extracted folders to the root of your SD card.  
# Restart the application, overlay, and/or sysmodule if they were running.
** You should be copying the <code>atmosphere</code> and <code>switch</code> folders to the location on your SD card which also contains the <code>atmosphere</code> and <code>switch</code> folders. These folders will be merged automatically. You should be prompted if you wish to overwrite a lot of files. Say yes to all of these.
# Congratulations! You have successfully updated the software. You can now delete the downloaded .zip file and extracted folder from your computer. If you encounter a "versions do not match" error upon starting the application, simply reboot your Switch, and the issue should be resolved.
* Restart the application, overlay, and/or sysmodule if they were running.
 
* That's it, you may now delete the .zip file and extracted folder from your computer.
==Media==
'''TRIPLAYER FOR NINTENDO SWITCH | PLAY MUSIC IN BACKGROUND - ([https://www.youtube.com/watch?v=o5lYr3p878E Dr Brute])'''<br>
<youtube>o5lYr3p878E</youtube>


==Screenshots==
If you get a "versions do not match" when starting the application, simply reboot your Switch and you should be good to go.
https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch-01.png
https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch-02.png
https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch-03.png
https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch-04.png
https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch-05.png
https://dlhb.gamebrew.org/switchhomebrews/triplayerswitch-06.png


==Basic Usage & Tips==
==User gude==
===Adding or Removing Music===
===Adding or removing music===
To add music to TriPlayer's library, copy any supported audio files to the /music folder on the root of your SD card. If the folder doesn't exist, create it. On the next application launch, TriPlayer will scan your library and extract any metadata that is available to prepare the database.
To add music to TriPlayer's library, copy any supported audio files to the <code>/music</code> folder on the root of your SD card (create this folder if necessary). On the next application launch, TriPlayer will scan your library and extract any metadata that is available to prepare the database.


You can freely add or remove songs from this folder, and TriPlayer will update its database the next time you launch the application. However, avoid deleting files while the sysmodule is playing a queue. Launch the application soon after deleting files to update the database and reflect the changes.
You can freely add or remove songs from this folder, and TriPlayer will update its database the next time you launch the application. However, avoid deleting files while the sysmodule has a queue playing. It is recommended to launch the application soon after deleting files so the database can be updated to reflect this.


Note that you can edit the metadata stored in TriPlayer's database within the application. But changes made are only saved within the database, and not in the audio files. For example, any ID3 tags won't be changed.
Note that you can edit the metadata stored in TriPlayer's database within the application. But changes made are only saved within the database, and not in the audio files (i.e. any ID3 tags aren't changed).


===Navigating the Application===
===Navigating the application===
TriPlayer is designed to be easy to navigate and use. However, because the Switch is a hybrid device, some actions might seem difficult at first. Instead of explaining how to use the application, here are some tips to help you interact with it:
TriPlayer is designed to be easy to navigate and use. However, due to the hybrid nature of the Switch some actions may be a bit difficult to complete at first glance. Here are some tips to help you interact with it:


* Press Y to toggle between the main frame and the player.
* Press Y to toggle between the main frame and the player.
Line 98: Line 87:
* Hold ZL or ZR to move between items faster.
* Hold ZL or ZR to move between items faster.


===Controlling Playback===
===Controlling playback===
You have two options to control playback when outside of the TriPlayer application. First, use the overlay (see the section below). Second, press a button combination. You can configure the button combinations in the app, but the defaults are:
You have two options to control playback when outside of the TriPlayer application. First, use the overlay (see the section below). Second, press a button combination. You can configure the button combinations in the app, but the defaults are:


* L + DPADLEFT + RSTICK: Skip backward.
* L+D-Pad Left+Right Stick - Skip backward.
* L + DPADUP + RSTICK: Play/pause.
* L+D-Pad Left+Right Stick - Play/pause.
* L + DPADRIGHT + RSTICK: Skip forward.
* L+D-Pad Left+Right Stick - Skip forward.


===Using the Overlay===
===Using the Overlay===
You can launch the TriPlayer overlay through the [https://github.com/WerWolv/Tesla-Menu Tesla Menu]. The overlay is optional, but it makes controlling playback easier while in-game. The overlay is self-explanatory. You can use either touch or controller inputs to interact with the elements. Note that there's a 'stop sysmodule' button that you can use to close TriPlayer before launching a troublesome application.
You can launch the TriPlayer overlay through the [[Tesla Menu Switch|Tesla Menu]]. The overlay is optional, but it makes controlling playback easier while in-game.  
 
The overlay is self-explanatory. You can use either touch or controller inputs to interact with the elements. Note that there's a "stop sysmodule" button that you can use to close TriPlayer before launching a troublesome application.
 
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/triplayernx.png
https://dlhb.gamebrew.org/switchhomebrews/triplayernx2.png
 
https://dlhb.gamebrew.org/switchhomebrews/triplayernx3.png
https://dlhb.gamebrew.org/switchhomebrews/triplayernx4.png


==Known Issues==
https://dlhb.gamebrew.org/switchhomebrews/triplayernx5.png
===Audio Buffering During Scanning and Game Loading===
https://dlhb.gamebrew.org/switchhomebrews/triplayernx6.png
While TriPlayer is scanning your music library or games are loading, audio buffering may occur due to the allocation of 300KB of memory to audio buffers by the sysmodule. In most cases, this should be sufficient to avoid buffering, but if the SD card has a slow read speed or another process is reading a large file, buffering may occur. Disabling the "Scan on Launch" setting in TriPlayer's application settings may prevent this, but it could cause other issues, so it is not recommended.


===Crashes of Games/Apps Running in the Background with TriPlayer===
==Media==
The Switch's OS imposes a 2-session limit on the "AudioRenderer" service, which means that only one other session is available for other programs to use when TriPlayer is running, as it uses one session the whole time. If an application attempts to use both sessions, an error occurs, and the app crashes. Unfortunately, there is no way around this issue. Before launching any problematic games or applications, it is recommended to use TriPlayer's application or overlay to stop the sysmodule safely.
'''TRIPLAYER FOR NINTENDO SWITCH | PLAY MUSIC IN BACKGROUND - ([https://www.youtube.com/watch?v=o5lYr3p878E Dr Brute])'''<br>
<youtube>o5lYr3p878E</youtube>


===TriPlayer Stuck on "Preparing Your Library..." or "Scanning Your Library..."===
==Known issues==
If you encounter the issue of TriPlayer getting stuck on "Preparing Your Library..." or "Scanning Your Library..." it could be because some files in /music have non-ASCII characters. To fix this, follow these steps:
'''Audio Buffering During Scanning and Game Loading:'''
*While TriPlayer is scanning your music library or games are loading, audio buffering may occur due to the allocation of 300KB of memory to audio buffers by the sysmodule. In most cases, this should be sufficient to avoid buffering, but if the SD card has a slow read speed or another process is reading a large file, buffering may occur. Disabling the "Scan on Launch" setting in TriPlayer's application settings may prevent this, but it could cause other issues, so it is not recommended.


For Windows Users:
'''Crashes of Games/Apps Running in the Background with TriPlayer:'''
# Connect your SD card to your computer.
*The Switch's OS imposes a 2-session limit on the "AudioRenderer" service, which means that only one other session is available for other programs to use when TriPlayer is running, as it uses one session the whole time. If an application attempts to use both sessions, an error occurs, and the app crashes. Unfortunately, there is no way around this issue. Before launching any problematic games or applications, it is recommended to use TriPlayer's application or overlay to stop the sysmodule safely.
# Download [https://github.com/tallbl0nde/TriPlayer/tree/master/Tools/rename.bat rename.bat] and save it in the folder containing your music.
# Double-click the file and confirm that you wish to rename any required files.
# Reconnect the SD card to your Switch, launch TriPlayer, and you should be good to go!


For Mac/Linux Users:
'''TriPlayer Stuck on "Preparing Your Library..." or "Scanning Your Library...":'''
# Connect your SD card to your computer.
*If you encounter the issue of TriPlayer getting stuck on "Preparing Your Library..." or "Scanning Your Library..." it could be because some files in /music have non-ASCII characters. To fix this, follow these steps:
# Download [https://github.com/tallbl0nde/TriPlayer/tree/master/Tools/rename.sh rename.sh] and save it in the folder containing your music.
** For Windows Users:
# Open a terminal in the folder and make the script executable by running chmod +x ./rename.sh.
*** Connect your SD card to your computer.
# Run the script by specifying the path on which you wish to operate (e.g., ./rename.sh . for the containing folder).
*** Download [https://github.com/tallbl0nde/TriPlayer/tree/master/Tools/rename.bat rename.bat] and save it in the folder containing your music.
# Reconnect the SD card to your Switch, launch TriPlayer, and you should be good to go!
*** Double-click the file and confirm that you wish to rename any required files.
*** Reconnect the SD card to your Switch, launch TriPlayer, and you should be good to go!
** For Mac/Linux Users:
*** Connect your SD card to your computer.
*** Download [https://github.com/tallbl0nde/TriPlayer/tree/master/Tools/rename.sh rename.sh] and save it in the folder containing your music.
*** Open a terminal in the folder and make the script executable by running chmod +x ./rename.sh.
*** Run the script by specifying the path on which you wish to operate (e.g., ./rename.sh . for the containing folder).
*** Reconnect the SD card to your Switch, launch TriPlayer, and you should be good to go!


===Switch Crashes/Hangs on Boot or Shortly After Launching the Sysmodule===
'''Switch Crashes/Hangs on Boot or Shortly After Launching the Sysmodule:'''
The Switch may crash or hang on boot or soon after launching the sysmodule due to running out of RAM for background services (sysmodules). TriPlayer currently requires around 3MB of free RAM to run, which may not seem like much, but there are only a few tens of MB available for all sysmodules, including official ones. Unfortunately, there is currently no way around this issue. Before launching TriPlayer, stop any other sysmodules that may be required.
*The Switch may crash or hang on boot or soon after launching the sysmodule due to running out of RAM for background services (sysmodules). TriPlayer currently requires around 3MB of free RAM to run, which may not seem like much, but there are only a few tens of MB available for all sysmodules, including official ones. Unfortunately, there is currently no way around this issue. Before launching TriPlayer, stop any other sysmodules that may be required.


==Changelog==
==Changelog==
'''v.1.1.1'''
'''v1.1.1 2021/07/25'''
*Added support for Atmosphere w/ Mesosphere and Horizon 12.0.0+
*Added support for Atmosphere w/ Mesosphere and Horizon 12.0.0+.
**Due to changes in IPC communication under either of these situations the application would previously crash immediately when launched
**Due to changes in IPC communication under either of these situations the application would previously crash immediately when launched.
*Added a number of translations provided by the community:
*Added a number of translations provided by the community:
**Chinese (Simplified) - @Heartbeat-Heartbreak
**Chinese (Simplified) - @Heartbeat-Heartbreak.
**Chinese (Traditional) - @tiansongyu
**Chinese (Traditional) - @tiansongyu.
**Japanese - @yyoossk
**Japanese - @yyoossk.
**Korean - @RoutineFree
**Korean - @RoutineFree.
**Spanish - @LeyendaV
**Spanish - @LeyendaV.
**Thank you everyone for translating TriPlayer, and sorry I took so long to release an update!
**Thank you everyone for translating TriPlayer, and sorry I took so long to release an update.
*Built with latest libnx
*Built with latest libnx.
*Built with latest libTesla
*Built with latest libTesla.
*Built with latest version of Aether
*Built with latest version of Aether.
**Various UI improvements can be seen throughout the application
**Various UI improvements can be seen throughout the application.
*Numerous bug fixes throughout the application (and maybe even more created! (: )
*Numerous bug fixes throughout the application (and maybe even more created).
*General system stability improvements to enhance the user's experience.
*General system stability improvements to enhance the user's experience.
'''v.1.1.0'''
'''v1.1.0 2020/11/27'''
*Added support for FLAC files
*Added support for FLAC files.
**Some really high quality files (e.g. 3+ channels or high sample rate) may not play properly
**Some really high quality files (e.g. 3+ channels or high sample rate) may not play properly.
**Please reencode these to have 2 or less channels and/or a lower sample rate if you encounter issues
**Please reencode these to have 2 or less channels and/or a lower sample rate if you encounter issues.
*Added support for WAV files
*Added support for WAV files.
**See the above notes regarding FLACs if you encounter issues with WAVs too
**See the above notes regarding FLACs if you encounter issues with WAVs too.
*Added playlist import/export functionality
*Added playlist import/export functionality.
**Playlists can be imported from a .m3u/.m3u8 file with relative paths
**Playlists can be imported from a .m3u/.m3u8 file with relative paths.
**Playlists will be exported as a .m3u8 file to /music
**Playlists will be exported as a .m3u8 file to /music.
*Migrated to TagLib for metadata extraction
*Migrated to TagLib for metadata extraction.
**This speeds up the initial scan by about 20x (at least with my library)
**This speeds up the initial scan by about 20x (at least with my library).
**Huge thanks to @einsteinx2 for incorporating this!
**Huge thanks to @einsteinx2 for incorporating this.
*Added support for languages other than English
*Added support for languages other than English.
**Translations can now be easily integrated in the future
**Translations can now be easily integrated in the future.
**If you're interested in translating TriPlayer, please get in touch with me if you're unsure how to begin!
**If you're interested in translating TriPlayer, please get in touch with me if you're unsure how to begin.
*General system stability improvements to enhance the user's experience, including:
*General system stability improvements to enhance the user's experience, including:
**Missing font glyphs fallback to the internal font
**Missing font glyphs fallback to the internal font.
***Those '☒' boxes should no longer appear!
***Those '☒' boxes should no longer appear.
**The overlay no longer locks the database while it is open
**The overlay no longer locks the database while it is open.
***This fixes any "Unable to update the database" errors when creating playlists, etc.
***This fixes any "Unable to update the database" errors when creating playlists, etc.
**Fixed a memory leak when closing the application
**Fixed a memory leak when closing the application.
***This was most obvious when closing the application after checking for an update as it would crash
***This was most obvious when closing the application after checking for an update as it would crash.
**Chinese, Korean and other keyboards are now available when using the on-screen keyboard
**Chinese, Korean and other keyboards are now available when using the on-screen keyboard.
'''v.1.0.0'''
'''v1.0.0 2020/11/01'''
* First Release.
* First Release.
==Credits==
For a complete list of credits and open source libraries used, please see the About tab in the application's settings.


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/triplayer-a-feature-rich-audio-player-for-nintendo-switch.576515/
* GitHub - https://github.com/tallbl0nde/TriPlayer
* Github - https://github.com/tallbl0nde/TriPlayer
* GBAtemp - https://gbatemp.net/threads/triplayer-a-feature-rich-audio-player-for-nintendo-switch.576515/
* ForTheUsers - https://apps.fortheusers.org/switch/TriPlayer

Revision as of 13:07, 8 Mayıs 2023

TriPlayer
Triplayernx.png
General
Authortallbl0nde
TypeMedia players
Version1.1.1
LicenseMIT License
Last Updated2021/07/25
Links
Download
Website
Source
Support Author

TriPlayer is a feature-rich audio player for the Nintendo Switch. It is able to play music in the background, including when playing games or on the HOME menu.

To use TriPlayer, a Nintendo Switch console with the capability of running Atmosphere is required. It gained it's name as it consists of three separate components, and initially its ability to play MP3 files.

The documentation is located here.

Features

  • Audio playback while in-game.
  • No impact on game performance (runs on separate CPU core).
  • Automatically organized library based on ID3 metadata.
  • Album/artist image scraping via TheAudioDB.
  • Custom playlists.
  • Fast library search.
  • Ability to add and remove songs to play queue.
  • Beautiful and easy to navigate interface.
  • Highly customizable with many settings that can be changed.
  • Basic 32-band equalizer.
  • Update in-app.
  • And many more.
  • Supported audio formats:
    • FLAC
    • MP3
    • WAV

Installation

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 relatively up-to-date firmware:
    • Some components require functionality that was added to later firmwares, so 10.0.0+ is currently supported.
  • Some music:
    • FLAC, MP3 and WAV are supported at this time.

Installing

To install this software, follow these steps, which are similar to other homebrew installations:

  • Download the latest release from here.
  • Extract the downloaded .zip file to any location you prefer.
  • Copy the extracted folders to the root of your SD card.
    • You should be copying the atmosphere and switch folders to the location on your SD card which also contains the atmosphere and switch folders. These folders will be merged automatically. If prompted, overwrite any files necessary.

That's it, you can now delete the downloaded .zip file and extracted folder from your computer.

Updating (Manual)

It is recommended to update the software within the application to avoid errors. However, if you must update manually, follow these instructions:

  • Download the latest release from here.
  • Extract the downloaded .zip file to any location you prefer.
  • Copy the extracted folders to the root of your SD card.
    • You should be copying the atmosphere and switch folders to the location on your SD card which also contains the atmosphere and switch folders. These folders will be merged automatically. You should be prompted if you wish to overwrite a lot of files. Say yes to all of these.
  • Restart the application, overlay, and/or sysmodule if they were running.
  • That's it, you may now delete the .zip file and extracted folder from your computer.

If you get a "versions do not match" when starting the application, simply reboot your Switch and you should be good to go.

User gude

Adding or removing music

To add music to TriPlayer's library, copy any supported audio files to the /music folder on the root of your SD card (create this folder if necessary). On the next application launch, TriPlayer will scan your library and extract any metadata that is available to prepare the database.

You can freely add or remove songs from this folder, and TriPlayer will update its database the next time you launch the application. However, avoid deleting files while the sysmodule has a queue playing. It is recommended to launch the application soon after deleting files so the database can be updated to reflect this.

Note that you can edit the metadata stored in TriPlayer's database within the application. But changes made are only saved within the database, and not in the audio files (i.e. any ID3 tags aren't changed).

Navigating the application

TriPlayer is designed to be easy to navigate and use. However, due to the hybrid nature of the Switch some actions may be a bit difficult to complete at first glance. Here are some tips to help you interact with it:

  • Press Y to toggle between the main frame and the player.
  • Press X when you highlight an item to open its context menu (indicated by three dots).
  • Press + to close the application from almost any screen.
  • Press - to switch between the list in a frame and any buttons at the top.
  • Press B to navigate backward one frame.
  • Hold ZL or ZR to move between items faster.

Controlling playback

You have two options to control playback when outside of the TriPlayer application. First, use the overlay (see the section below). Second, press a button combination. You can configure the button combinations in the app, but the defaults are:

  • L+D-Pad Left+Right Stick - Skip backward.
  • L+D-Pad Left+Right Stick - Play/pause.
  • L+D-Pad Left+Right Stick - Skip forward.

Using the Overlay

You can launch the TriPlayer overlay through the Tesla Menu. The overlay is optional, but it makes controlling playback easier while in-game.

The overlay is self-explanatory. You can use either touch or controller inputs to interact with the elements. Note that there's a "stop sysmodule" button that you can use to close TriPlayer before launching a troublesome application.

Screenshots

triplayernx.png triplayernx2.png

triplayernx3.png triplayernx4.png

triplayernx5.png triplayernx6.png

Media

TRIPLAYER FOR NINTENDO SWITCH | PLAY MUSIC IN BACKGROUND - (Dr Brute)

Known issues

Audio Buffering During Scanning and Game Loading:

  • While TriPlayer is scanning your music library or games are loading, audio buffering may occur due to the allocation of 300KB of memory to audio buffers by the sysmodule. In most cases, this should be sufficient to avoid buffering, but if the SD card has a slow read speed or another process is reading a large file, buffering may occur. Disabling the "Scan on Launch" setting in TriPlayer's application settings may prevent this, but it could cause other issues, so it is not recommended.

Crashes of Games/Apps Running in the Background with TriPlayer:

  • The Switch's OS imposes a 2-session limit on the "AudioRenderer" service, which means that only one other session is available for other programs to use when TriPlayer is running, as it uses one session the whole time. If an application attempts to use both sessions, an error occurs, and the app crashes. Unfortunately, there is no way around this issue. Before launching any problematic games or applications, it is recommended to use TriPlayer's application or overlay to stop the sysmodule safely.

TriPlayer Stuck on "Preparing Your Library..." or "Scanning Your Library...":

  • If you encounter the issue of TriPlayer getting stuck on "Preparing Your Library..." or "Scanning Your Library..." it could be because some files in /music have non-ASCII characters. To fix this, follow these steps:
    • For Windows Users:
      • Connect your SD card to your computer.
      • Download rename.bat and save it in the folder containing your music.
      • Double-click the file and confirm that you wish to rename any required files.
      • Reconnect the SD card to your Switch, launch TriPlayer, and you should be good to go!
    • For Mac/Linux Users:
      • Connect your SD card to your computer.
      • Download rename.sh and save it in the folder containing your music.
      • Open a terminal in the folder and make the script executable by running chmod +x ./rename.sh.
      • Run the script by specifying the path on which you wish to operate (e.g., ./rename.sh . for the containing folder).
      • Reconnect the SD card to your Switch, launch TriPlayer, and you should be good to go!

Switch Crashes/Hangs on Boot or Shortly After Launching the Sysmodule:

  • The Switch may crash or hang on boot or soon after launching the sysmodule due to running out of RAM for background services (sysmodules). TriPlayer currently requires around 3MB of free RAM to run, which may not seem like much, but there are only a few tens of MB available for all sysmodules, including official ones. Unfortunately, there is currently no way around this issue. Before launching TriPlayer, stop any other sysmodules that may be required.

Changelog

v1.1.1 2021/07/25

  • Added support for Atmosphere w/ Mesosphere and Horizon 12.0.0+.
    • Due to changes in IPC communication under either of these situations the application would previously crash immediately when launched.
  • Added a number of translations provided by the community:
    • Chinese (Simplified) - @Heartbeat-Heartbreak.
    • Chinese (Traditional) - @tiansongyu.
    • Japanese - @yyoossk.
    • Korean - @RoutineFree.
    • Spanish - @LeyendaV.
    • Thank you everyone for translating TriPlayer, and sorry I took so long to release an update.
  • Built with latest libnx.
  • Built with latest libTesla.
  • Built with latest version of Aether.
    • Various UI improvements can be seen throughout the application.
  • Numerous bug fixes throughout the application (and maybe even more created).
  • General system stability improvements to enhance the user's experience.

v1.1.0 2020/11/27

  • Added support for FLAC files.
    • Some really high quality files (e.g. 3+ channels or high sample rate) may not play properly.
    • Please reencode these to have 2 or less channels and/or a lower sample rate if you encounter issues.
  • Added support for WAV files.
    • See the above notes regarding FLACs if you encounter issues with WAVs too.
  • Added playlist import/export functionality.
    • Playlists can be imported from a .m3u/.m3u8 file with relative paths.
    • Playlists will be exported as a .m3u8 file to /music.
  • Migrated to TagLib for metadata extraction.
    • This speeds up the initial scan by about 20x (at least with my library).
    • Huge thanks to @einsteinx2 for incorporating this.
  • Added support for languages other than English.
    • Translations can now be easily integrated in the future.
    • If you're interested in translating TriPlayer, please get in touch with me if you're unsure how to begin.
  • General system stability improvements to enhance the user's experience, including:
    • Missing font glyphs fallback to the internal font.
      • Those '☒' boxes should no longer appear.
    • The overlay no longer locks the database while it is open.
      • This fixes any "Unable to update the database" errors when creating playlists, etc.
    • Fixed a memory leak when closing the application.
      • This was most obvious when closing the application after checking for an update as it would crash.
    • Chinese, Korean and other keyboards are now available when using the on-screen keyboard.

v1.0.0 2020/11/01

  • First Release.

Credits

For a complete list of credits and open source libraries used, please see the About tab in the application's settings.

External links

Advertising: