m (-WIP)
m (MediaPlayerDirectory: correction)
Line 53: Line 53:
 
* Exit any running client using the profile configuration file you are going to adjust
 
* Exit any running client using the profile configuration file you are going to adjust
 
* Locate the ''client.cfg'' file and open it for writing
 
* Locate the ''client.cfg'' file and open it for writing
* Edit or add the option ''MediaPlayerDirectory'' and set it to any valid relative path to a folder with audio/playlist files
+
* Edit or add the option ''MediaPlayerDirectory'' and set it to any valid relative or absolute path to a folder with audio/playlist files
 
* Save the file
 
* Save the file
  

Revision as of 16:00, 21 April 2020

This article describes built-in music player that is available in-game with every Ryzom client. The player is able to play any MP3 or OGG audio file from a music folder. It can also handle M3U or M3U8 playlist files. To start the player choose:

System > MP3 Player
MP3 Player sound error message
MP3 Player sound error message

Note: Your client sound must be enabled and working otherwise the player will disallow you to use most of its controls and will display an error message.

Contents

Player interface

The player interface is modest and contains only necessary elements. It contains two main windows, the main player window with player controls and the player playlist.

Main player window

All main window interface elements have a hint, except the Currently played file. Hover elements to display it. The following image describes all elements of the main window:

Player description.png

Player Playlist

When you click the Playlist button on the main player window another one with current playlist will be shown. This window is automatically closed every time you click out of it. It consists of five additional elements:

Playlist description.png

Audio files

The most important is to provide audio or playlist files that are visible for the player. The default location where the player searches for files is a music sub-folder, located within your client profile folder. Read Ryzom location article to learn more about client file paths. You need to perform following steps to be able to play your audio files with MP3 player:

MP3 Player seek path details for Linux Steam client
MP3 Player seek path details for Linux Steam client

After that your player will be ready to play all recognized files.

Tip: Click Refresh button on player playlist and see SYS INFO to know where the player seeks for supported files.

Advanced options

You might need to share the music folder between various client installations or simply point the player to other place outside the profile folder. You have following options:

Configuration options

There exist two configuration options that you can use in your client configuration file client.cfg located in the client profile folder.

MediaPlayerDirectory

This option allows you to specify relative or absolute path where the player will seek for audio or playlist files. By default it is set to "music". To change this option you need to:

Examples:

MediaPlayerDirectory = "supermusic"; // Search in `supermusic` folder located in client profile folder
MediaPlayerDirectory = "../my_music"; // Search in `my_music` folder located in parent directory of the client profile folder
MediaPlayerDirectory = "D:\music_folder"; // Search in `music_folder` folder located in root of your drive D:

Note for users of unix-like systems: Using ~ (tilde) in the path as representation of your home directory is not supported

MediaPlayerAutoPlay

This option will make your client to refresh the playlist and will start playback right after you log in your character, no matter if the player is displayed or not. By default this option is turned off. To change this option you need to:

Examples:

MediaPlayerAutoPlay = 1; // Enables automatic playback start on log in
MediaPlayerAutoPlay = 0; // Disables automatic playback start on log in
Retrieved from "https://en.wiki.ryzom.com/w/index.php?title=MP3_Player&oldid=35982"