MediaPlayer Beta Version - PeteManchester/MediaPlayer GitHub Wiki
This page contains details about the current beta version of MediaPlayer
New config options in this release are: java_sound_software_mixer_enabled (true or false) If the soundcard does not support hardware volume control set this option to true to enable Software volume control of Airplay and Songcast channels
Changes have been made to:
Airplay - Implemented MetaData
Airplay - Made more stable
Airplay - Added delay to start of sound stream to stop harsh noise whilst Decryption libs are using all the CPU
Grizzly http libs have been upgraded to v2.3.14
Netty Libs have been updated to v4.0.25
The configuration options can be edited in the file:
app.properties
Below is a list of options of the beta version:
| Option | Description | Default Value |
|---|---|---|
| mediaplayer_friendly_name | The name of the MediaPlayer as shown in the Control Point | |
| mediaplayer_player | Which application should be used to play the files, can be either mpd or mplayer | |
| mediaplayer_playlist_max | The maximum number of tracks in the playlist (maximum is 1000) | 1000 |
| mediaplayer_save_local_playlist | Is the playlist saved locally | true |
| mediaplayer_enable_avTransport | If you are using only Kinsky as your Control Point you dont need the AVTransport, if you are using other CPs such as Asset Control you will need to enable this option (values are 'true' or 'false') | |
| mediaplayer_enable_receiver | Determines if the SongCast Receiver Source is displayed in the Control Point. | |
| mediapalyer_startup_volume | Sets the volume at the startup of MediaPlayer, if set to -1 this option is ignored | |
| mediaplayer_max_volume | Sets the max volume the mediaplayer can be set too | 100 |
| mplayer_playlist | The type of streams supported by mplayer | |
| mplayer_path | The path to your mplayer app | |
| mplayer_cache_size | The size of the cache mplayer will try to maintain | |
| mplayer_cache_min | The minimum size in percent of cache that mplayer will fill before playing the stream | |
| mpd_host | The Hostname of the mpd player | localhost |
| mpd_port | the Port number of the mpd player | 6600 |
| mpd.preload.timer | The time remaining on the current track when we add the next track to the MPD playlist | |
| log_file_name | The path the log file | |
| log_file_level | The log level, can be off,debug,info,warn,error,fatal | info |
| log_console_level | Used for debugging only, same options as above | off |
| openhome_log_level | Set the log level of the OpenHome libraries, values can be None, Trace, Thread, Network, Timer, SsdpMulticast, SsdpUnicast, Http, Device, XmlFetch, Service, Event, Topology, DvInvocation, DvEvent, DvWebSocket, Bonjour, DvDevice, Error, All, Verbose | Error |
| openhome_port | The port used by the MediaPlayer, if left blank a random port will be used | |
| web_server_port | The port used by the MediaPlayer WebServer | 8088 |
| web_server_enabled | Should the MediaPlayer WebServer be started | true |
| java_soundcard_suffix | A 'double dash' separated list of the suffix that is used to determine the active sound card, for example '[PLUGHW:0,0]--PRIMARY SOUND DRIVER' are the suffixs most commonly used on Wheezy and Windows if left empty the Audio Jack of the Raspi will be used | |
| songcast_latency_enabled | Determines whether the Songcast playback will be delayed for the duration specified by the Songcast Sender | |
| airplay_enabled | Determines whether the AirPlay receiver is enabled | true |
| airplay_latency_enabled | Adds two seoonds latency to the audio | false |
| airplay_port | UDP Port used by AirPlay | 5000 |
| java_sound_software_mixer_enabled | Enable Software Volume control for Airplay and Songcast Channels. Use when your DAC does not support Hardware Volume control | false |
If you are using mpd to playback the tracks you don't need to worry about setting the mplayer options, and if you are using mplayer you don't need to worry about the mpd files.