Difference between revisions of "MP3 Player"

From EncyclopAtys

Jump to: navigation, search
m (Audio files: +sys info screenshot with path, corrections)
m
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{WIP}}
+
{{Trad
 +
|DE=
 +
|EN=MP3 Player
 +
|ES=
 +
|FR=Lecteur MP3
 +
|RU=
 +
}}
 
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:
 
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'''
 
  '''System''' > '''MP3 Player'''
Line 28: Line 34:
 
* '''Refresh playlist''' button will force the player to scan available files again and building new playlist
 
* '''Refresh playlist''' button will force the player to scan available files again and building new playlist
 
* '''Close''' button will close the playlist window
 
* '''Close''' button will close the playlist window
* '''Current playlist''' contains all tracks and length in the current playlist, track details are read from file ID3 tags
+
* '''Current playlist''' contains all tracks and length in the current playlist, track details are read from file ID3 tags. Double-click a track to play it.
  
 
=Audio files=
 
=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:
 
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:
 +
[[File:Player sys info path.png|thumb|603px|alt=MP3 Player seek path details for Linux Steam client|MP3 Player seek path details for Linux Steam client]]
 
* Find the '''music''' folder in your client profile or create it if does not exist
 
* Find the '''music''' folder in your client profile or create it if does not exist
 
* Copy or move desired audio files or playlists into '''music''' folder
 
* Copy or move desired audio files or playlists into '''music''' folder
 
* Start the MP3 Player, click the Playlist button to open player playlist
 
* Start the MP3 Player, click the Playlist button to open player playlist
 
* Click '''Refresh''' button to build new playlist from available audio files
 
* Click '''Refresh''' button to build new playlist from available audio files
[[File:Player sys info path.png|thumb|603px|alt=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.
 
After that your player will be ready to play all recognized files.
  
 
<font style="color: crimson;">'''Tip:''' Click '''Refresh''' button on player playlist and see SYS INFO to know where the player seeks for supported files.</font>
 
<font style="color: crimson;">'''Tip:''' Click '''Refresh''' button on player playlist and see SYS INFO to know where the player seeks for supported files.</font>
  
 +
==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:
 
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:
 +
* '''Playlist file:''' Create an M3U or M3U8 playlist file that contains path to audio files located outside Ryzom client folders and place it into your '''music''' sub-folder. Read more about these [https://en.wikipedia.org/wiki/M3U playlist formats on Wikipedia].
 +
* '''Custom folder:''' You can use configuration option ''MediaPlayerDirectory'' that allows you to specify [https://en.wikipedia.org/wiki/Path_(computing)#Absolute_and_relative_paths relative or absolute path] to a folder with audio/playlist files.
 +
* '''Symbolic link:''' In case your file system supports [https://en.wikipedia.org/wiki/Symbolic_link symbolic links] you can use it instead of the '''music''' folder. This is however a feature of your system and not the client nor the player itself.
  
==Playlist file==
+
=Configuration options=
Create an M3U or M3U8 playlist file that contains path to audio files located outside Ryzom client folders and place it into your '''music''' sub-folder. Read more about these [https://en.wikipedia.org/wiki/M3U playlist formats on Wikipedia].
+
There exist two configuration options that you can use in your client configuration file ''client.cfg'' located in the client profile folder.
  
==Custom folder==
+
==MediaPlayerDirectory==
Open your client.cfg file located in your client profile folder and edit/add option ''MediaPlayerDirectory'' that allows you to specify [https://en.wikipedia.org/wiki/Path_(computing)#Absolute_and_relative_paths relative path] to a folder with audio/playlist files. By default it is set to '''music'''. Use any valid relative path that leads to a folder with desired audio files.
+
This option allows you to specify [https://en.wikipedia.org/wiki/Path_(computing)#Absolute_and_relative_paths relative or absolute path] where the player will seek for audio or playlist files. By default it is set to <font style="color: green;">"music"</font>. To change this option you need to:
 +
* Exit any running client using the profile configuration file you are going to adjust
 +
* Locate the ''client.cfg'' file and open it for writing
 +
* 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
  
 
'''Examples:'''
 
'''Examples:'''
Line 53: Line 67:
 
  MediaPlayerDirectory = "supermusic"; <font style="color: grey;">''// Search in `supermusic` folder located in client profile folder''</font>
 
  MediaPlayerDirectory = "supermusic"; <font style="color: grey;">''// Search in `supermusic` folder located in client profile folder''</font>
  
  MediaPlayerDirectory = "../my_music"; <font style="color: grey;">''// Search in `my_music` folder located in parent directory of the client profile folder</font>
+
  MediaPlayerDirectory = "../my_music"; <font style="color: grey;">''// Search in `my_music` folder located in parent directory of the client profile folder''</font>
 +
 
 +
MediaPlayerDirectory = "D:\music_folder"; <font style="color: grey;">''// Search in `music_folder` folder located in root of your drive D:''</font>
 +
 
 +
<font style="color: crimson;">'''Note for users of [https://en.wikipedia.org/wiki/Unix-like unix-like systems]:''' Using ~ (tilde) in the path as representation of your home directory is not supported</font>
 +
 
 +
==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:
 +
* Exit any running client using the profile configuration file you are going to adjust
 +
* Locate the ''client.cfg'' file and open it for writing
 +
* Edit or add the option ''MediaPlayerAutoPlay'' and set it to <font style="color: green;">''1''</font> to enable this feature or to <font style="color: green;">''0''</font> to disable it
 +
* Save the file
 +
 
 +
'''Examples:'''
 +
 
 +
MediaPlayerAutoPlay = 1; <font style="color: grey;">''// Enables automatic playback start on log in''</font>
  
==Symbolic link==
+
MediaPlayerAutoPlay = 0; <font style="color: grey;">''// Disables automatic playback start on log in''</font>
In case your file system supports [https://en.wikipedia.org/wiki/Symbolic_link symbolic links] you can use it instead of the '''music''' folder. This is however a feature of your system and not the client nor the player itself.
 
  
 +
<noinclude>
 +
{{Portal|Gameplay|X-files}}
 
[[Category:Interface]]
 
[[Category:Interface]]
 
[[Category:Starting Out]]
 
[[Category:Starting Out]]
 +
</noinclude>

Latest revision as of 10:11, 29 May 2020

en:MP3 Player
fr:Lecteur MP3
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Jenn, 2020-05-29)

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.

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
  • Play / Pause button will start or pause playback of the Currently played file
  • Stop button will stop any current playback
  • Next button will skip to next file in the Playlist
  • Volume slider is used to adjust player volume, it is independent on the main sound settings
  • Playlist button will open a window with your current playlist (see later)
  • Previous button will skip to previous file in the Playlist
  • Close button will close the main player window however will not stop the playback
  • Currently played file field shows you which song is currently being played and past time since its beginning

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
  • Repeat button toggles automatic playlist repeating, black background indicates repeating to be enabled
  • Shuffle button toggles playlist tracks to be shuffled while playing, black background indicates that shuffle is enabled
  • Refresh playlist button will force the player to scan available files again and building new playlist
  • Close button will close the playlist window
  • Current playlist contains all tracks and length in the current playlist, track details are read from file ID3 tags. Double-click a track to play it.

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
  • Find the music folder in your client profile or create it if does not exist
  • Copy or move desired audio files or playlists into music folder
  • Start the MP3 Player, click the Playlist button to open player playlist
  • Click Refresh button to build new playlist from available audio files

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:

  • Playlist file: Create an M3U or M3U8 playlist file that contains path to audio files located outside Ryzom client folders and place it into your music sub-folder. Read more about these playlist formats on Wikipedia.
  • Custom folder: You can use configuration option MediaPlayerDirectory that allows you to specify relative or absolute path to a folder with audio/playlist files.
  • Symbolic link: In case your file system supports symbolic links you can use it instead of the music folder. This is however a feature of your system and not the client nor the player itself.

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:

  • Exit any running client using the profile configuration file you are going to adjust
  • Locate the client.cfg file and open it for writing
  • 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

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:

  • Exit any running client using the profile configuration file you are going to adjust
  • Locate the client.cfg file and open it for writing
  • Edit or add the option MediaPlayerAutoPlay and set it to 1 to enable this feature or to 0 to disable it
  • Save the file

Examples:

MediaPlayerAutoPlay = 1; // Enables automatic playback start on log in
MediaPlayerAutoPlay = 0; // Disables automatic playback start on log in