-
Notifications
You must be signed in to change notification settings - Fork 20
MediaPlayer Options
PeteManchester edited this page Sep 27, 2015
·
16 revisions
The configuration options can be edited in the file:
app.properties
Below is a list of options:
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 |
airplay_master_volume_enabled | If 'true' changing the AirPlay Volume will update the Master Volume, if 'false' changing the AirPlay volume will only change the Airplay volume and not update the Master Volume | true |
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.
When using mpd this will support gapless playback, but cannot resolve a lot of radio streams and so I have to resolve the streams such as .pls in the code. MPlayer will not do gapless playback but you can throw any stream\file type at it and it just works.. The choice is yours :-)