Module configuration
From Mms-wiki
Contents |
[edit] Music
[edit] Description of random modes in options
MMS features 3 different random modes by default:
- Real random - Winamp random - Intelligent random
- In random mode whenever a new track is played it is selected completely at random. The only requirement is that the new track is different from the last track.
- When winamp random mode is enabled, it will take the playlist and shuffle it around so that it gets a new randomized list. Then the first track played decides where in the shuffled list it will start playing. It will then just play each track in the shuffled list one at a time as if it was the real playlist. Selecting a track from the list will have no effect on the order in which the tracks are played. As soon as the selected track is finished playing, the shuffled list is resumed.
- Intelligent random rates each song based on the popularity of the track. The popularity is based on the following heuristic: When a track is quickly skipped it will get a negative score, and vice versa when a track is played all the way to the end is will get a positive score. A tracks score will determine how likely it is to be played again. The score of a track can be viewed in the information screen for a track. Intelligent random is only available in graphical audio mode (enabled by default).
[edit] The different random modes effect on repeat
If repeat is disabled the idea is that when the last track in the playlist is played the music will stop playing. This is the way it works if no random mode is selected.
In random mode this is modified to mean: when all tracks in the playlist has been played at least once, the music will stop. For winamp this means that once the whole list of shuffled tracks has been played it will stop playing. So as long as no other tracks manually are played, MMS will play each track in the playlist exactly once. For random and intelligent random there is no guarantee that each track is played exactly once. One track can be played 5 times, while another is only played once.
[edit] Directories
Tell MMS where to look for audio. Specify several folders by adding more lines.
# Directories # # you can add several folders by simple having multiple entries # audio_dir = /stuff/music/
[edit] Mode
MMS can use a playlist only mode, where all files in the audio dirs are added to one big playlist or the default split mode with an audio library where you add tracks to the playlist and a playlist mode where you can delete and move files around.
# Audio_mode # # Two options: # # both = audio_add mode + playlist # playlist = winamp mode (playlist only) # audio_mode = both
[edit] Output mode
Digital or analog? Note: For analog output you need a cable from your CD-Roms connected to your mainboard [FIXME:This is correct for alsa, but does it matter now?]
# Audio mode # # Use analog (-a) or digital (-d) # audio_output_mode = -d
[edit] Output type
Does your soundcard use alsa or oss?
# Audio type # # Use alsa, jack, oss, nas, sgi or sparc driver for output # audio_output_type = oss
[edit] Soundcard device
At which device does your soundcard reside? Useful if you have lots of soundcards or at non-standard location.
# Audio device # # standard audio device is /dev/dsp # audio_dev = /dev/dsp
[edit] Clearing playlist
When emptying the playlist should the currently playing track play to the end or just stop?
# Stop playback when clearing the playlist? # audio_stop_on_clear = true
[edit] Filetypes
Specify the filetypes mms should look for. The first parameter is the file ending and the second is the string used in mms
# Audio filetypes # # The extension must be in lowercase # filetypes_a = mp3, mp3 filetypes_a = ogg, ogg filetypes_a = wav, wav filetypes_a = wma, wma
[edit] Alsaplayer
Note: As of 1.0.8 Xine is the default
[edit] Options
Specify the options to pass to alsaplayer
# Alsaplayer options # # Can be used to change the frequency if needed (such as -F 48000), # see alsalayer --help for options # alsaplayer_options = -r
[edit] Path
Specify the path to the alsaplayer binary
# Alsaplayer binary path # # If alsaplayer is selected as audio player you need to specify the # path to the binary # alsaplayer_path = /usr/bin/alsaplayer
[edit] Video
[edit] Directories
Tell MMS where to look for movies. Specify several folders by adding more lines.
# Directories # # you can add several folders by simple having multiple entries # mov_dir = /stuff/movies/
[edit] Startmenu entry
Show movie in startmenu?
# movie_mode: yes or no # movie_mode = yes
[edit] Players
What player do you want to play movies on hd and what for dvd?
# Movie players # # Possible values for movie_player are: mplayer, xine # Possible values for dvd_player are: mplayer, xine, dxr3player # movie_player = mplayer dvd_player = dxr3player
[edit] Filetypes
Specify the filetypes mms should look for. The first parameter is the file ending and the second is the string used in mms
# Movie filetypes # # The extension must be in lowercase # filetypes_m = avi, divx filetypes_m = mkv, mkv filetypes_m = mpg, mpeg filetypes_m = mpeg, mpeg filetypes_m = rm, real filetypes_m = wmv, wmv filetypes_m = m2v, mpeg filetypes_m = mp4, mpeg filetypes_m = mov, mov filetypes_m = pls, pls
[edit] DXR3player
dxr3player (>= 0.5.0)
[edit] Options
Specify the options to pass to dxr3player
# Movie Player options # # Do not set the dvd-device options. That will automaticly be appended # by mms when starting the movie player # dxr3playeropts = -t
[edit] Path
Specify the path to the dxr3player binary
# Movie player paths # dxr3player_path = /usr/bin/dxr3player
[edit] Cxfe
[edit] Options
Specify the options to pass to cxfe
# Movie Player options # # Do not set the dvd-device options. That will automaticly be appended # by mms when starting the movie player # cxfeopts = -vo dxr3
[edit] Path
Specify the path to the cxfe binary
# Movie player paths # cxfe_path = /usr/bin/cxfe
[edit] Mplayer
[edit] Options
Specify the options to pass to mplayer
# Movie Player options # # Do not set the dvd-device options. That will automaticly be appended # by mms when starting the movie player # mplayeropts = -cache 8192 -framedrop -vo dxr3 -vf expand=-1:-1:-1:-1:1,lavc=quality:25
[edit] Path
Specify the path to the mplayer binary
# Movie player paths # mplayer_path = /usr/bin/mplayer
[edit] Lirc path
Where is the lirc configuration file for mplayer placed?
# Path to the lirc configuration file for mplayer # lircconf = /etc/mms/lirc.conf
[edit] Output options
In the options it is possible to change between three different audio output types. This is useful for changing between 5.1 when all your friends are there watching a movie and to 2 channels when the wife is sleeping in the next room. The options are passed to mplayer.
# audio mode # # Define three different sound modes for movie player: 5.1 digital, # 5.1 analog, 2 channel stereo # # example shown for mplayer as movie player. # audio_mode_5d = -afm hwac3 -ao oss:/dev/dsp audio_mode_5a = -channels 6 -ao oss:/dev/dsp2 audio_mode_2 = -ao oss:/dev/dsp
[edit] Pictures
[edit] Directories
Tell MMS where to look for pictures. Specify several folders by adding more lines.
# Directories # # you can add several folders by simple having multiple entries # picture_dir = /stuff/pictures/
[edit] Exclude directories?
Specify which folders mms should not look for images in. Useful if you have used another application that has created thumbnails in the same directory (or subfolder) as the normal images.
# Pictures dirs to exclude # # Exclude dirs with the following names from coming up in pictures # You can specify as many as needed # # Eg. exclude_picture_dir = .xvpic
[edit] Filetypes
Specify the filetypes mms should look for. The first parameter is the file ending and the second is the string used in mms
# Picture filetypes # # The extension must be in lowercase # filetypes_p = png, png filetypes_p = jpg, jpg filetypes_p = gif, gif
[edit] EPG
[edit] Path of XML file
Where is the EPG xml file placed?
# EPG # # xml file location epg_data = /etc/mms/TV.xml
[edit] Path of update script
Where is the update script placed. This is useful for automaticly updating the EPG file. Leave this blank if you want to control it yourself using cron.
# script to update the xml file # # Please note that if you exit while epg is updating you need to be # root to run the shutdown script at the end epg_update_script = /etc/mms/gen_tvlisting.sh
[edit] Radio
[edit] Internet Radio
[edit] Download radio station?
Download internet radio station list from shoutcast.com?
# Download internet radio stations automaticly? # download_radio = true
[edit] Options
Options for mplayer to play radio station
# Radio options # radiomplayeropts = -cache 128 -vo null
[edit] Favorite radio stations
Add your favorite online radio station here. The first part is the name displayed in mms and the second part is the URL to the radio station.
# internet radio stations # # for hardware tuners put the frequency you want to tune to after # "bttvradio://" # internet_radio = D I G I T A L L Y - I M P O R T E D, http://64.236.34.161:80/stream/1003 internet_radio = SPUTNIK online , rtsp://213.200.64.234/farm/*/encode
[edit] BTTV Radio
[edit] Options
Options for bttv
# Radio options # bttvradiooptsplay = -q -c /dev/radio -f bttvradiooptsmute = -qm -c /dev/radio bttvvolup_opts = line 4 bttvvoldown_opts = line -4 bttvvolctl_path = /usr/bin/setmixer
[edit] Favorite radio stations
Add your favorite online radio station here. The first part is the name displayed in mms and the second part is the URL to the radio station.
# internet radio stations # # for hardware tuners put the frequency you want to tune to after # "bttvradio://" # internet_radio = CNN , bttvradio://102.40
[edit] TV
The TV module is new in 1.0.8. It let You start an external tv-viewing frontend like tvtime or xine in order to be able to watch television, and this can be done now from the main menu of mms. You need of course a running VDR or something similar. To enable it, use the configure switch:
--enable-tv
before the compilation run.
[edit] Author
Hendrik (forum name)
[edit] Options
- the options in your /etc/mms/config or ~/.mms/config can be:
tv_path = "/usr/bin/tvtime"
- or
tv_path = "/usr/bin/vdr-sxfe"
- here you define the path to your tv-viewer frontend + the application itself.
tv_opts = "--fullscreen --audio=alsa --video=xv --syslog --nokbd"
- here are the switches for your tv-viewer (this is just an example)
[edit] Games
[edit] Author
castorinop ( forum name, aka Pablito)
The new Game module was created in order to entertain children (small and big ones). You can play multiples games with different emulators. To enable it, use the configure switch:
--enable-game
[edit] Directories
Tell MMS where to look for ROMs. Specify several folders by adding more lines.
game_dir = /stuff/games/
[edit] Options
You can use several emulators. To do so, you have to specify each emulator separately in the config file. The recommended emulators are:
[edit] Mame
mame_path = /usr/bin/xmame mameopts = -fullscreen -scale 3
[edit] Super Nintendo
snes_path = /usr/bin/zsnes snesopts = -r 2
[edit] Nintendo
nes_path = /usr/bin/fceu nesopts = --fs 1 --joy1 1 --xres 720 --yres 576
[edit] Genesis
gens_path = /usr/bin/gens gensopts = --fs-mode
[edit] Scripts
You want to play another game? YES! This is your solution.. You can simply create a script and execute what you want.
[edit] Linux Games
For example Crack Attack
#!/bin/bash #Support for Joystick xjoypad -device /dev/input/js0 -buttons 0 0 98 65 0 33 10 36 & crack-attack -1 killall xjoypad
[edit] PC/DOS Games
For example Prehistorik 2
#!/bin/bash cd /stuff/games/dos/ xjoypad -device /dev/input/js0 -buttons 0 0 98 65 0 33 10 36 & dosbox -fullscreen -conf pre2.conf killall xjoypad
[edit] Play Station
This feature detects if the media (CD or DVD) is a PlayStation game. you can enable it with the next line:
psxenu_enable = yes
I recommend PSCX (http://www.pcsx.net) , it's free and there are a lot of plugins available.
psxemu_path = /usr/bin/pcsx psxemuopts = -nogui -runcd
