Difference between revisions of "Gmediaserver"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
GMediaServer is run from the command line. It supports the usual --help option which displays usage and option information. GMediaServer expects one or more directory arguments, specifying where audio files are stored. You should probably also use the -i (--interface) option to specify which interface GMediaServer should listen on. The first times you run GMediaServer it would also be a good idea to increase the verbosity. Example:
+
Instalasi
  
     ./gmediaserver -ieth1 -v4 /audio
+
apt-get install gmediaserver
 +
 
 +
Help
 +
 
 +
gmediaserver --help
 +
 
 +
Usage: gmediaserver [OPTIONS]... DIRECTORIES...
 +
Run the UPnP media server.
 +
 +
      --friendly-name=NAME     set display name for media server
 +
      --disable-tags            do not scan files for tags
 +
      --fs-charset=CHARSET      character set used in file names
 +
      --device-charset=CHARSET  character set used in the player device
 +
      --log-charset=CHARSET    character set used in logs and display
 +
  -v, --verbose[=LEVEL]        set verbosity level (0-4)
 +
      --pid-file=FILE          write pid to FILE when up and running
 +
  -i, --interface=NAME          listen on a specific interface
 +
  -p, --port=PORT              listen on a specific port
 +
  -o, --output=LOGFILE          file for logging
 +
  -b, --background              go to background (detach)
 +
      --no-timestamp            do not prepend timestamp to log entries
 +
      --timestamp[=FORMAT]      prepend timestamp with optional time format
 +
      --profile=NAME            specify profile (see below)
 +
      --file-types=TYPE[,..]    list of file types to serve (see docs)
 +
      --expire-time=SECONDS    advertisement expire time (default 100)
 +
      --help                    display this help and exit
 +
      --version                output version information and exit
 +
 +
The directories arguments specify where audio files are located.
 +
See strftime(3) for description of the timestamp format.
 +
 +
A profile specified with --profile enables settings for a certain device.
 +
The following values are valid for --profile:
 +
 +
  generic  no custom settings
 +
  mp101    Netgear MP101
 +
  dms1    Omnifi DMS1
 +
  ps3      PlayStation 3
 +
 +
Report bugs to <oskar@osk.mine.nu>.
 +
 
 +
 
 +
Menjalankan gmediaserver
 +
 
 +
./gmediaserver -ieth1 -v4 /audio
  
  

Revision as of 19:33, 24 May 2011

Instalasi

apt-get install gmediaserver

Help

gmediaserver --help
Usage: gmediaserver [OPTIONS]... DIRECTORIES...
Run the UPnP media server.

      --friendly-name=NAME      set display name for media server
      --disable-tags            do not scan files for tags
      --fs-charset=CHARSET      character set used in file names
      --device-charset=CHARSET  character set used in the player device
      --log-charset=CHARSET     character set used in logs and display
  -v, --verbose[=LEVEL]         set verbosity level (0-4)
      --pid-file=FILE           write pid to FILE when up and running
  -i, --interface=NAME          listen on a specific interface
  -p, --port=PORT               listen on a specific port
  -o, --output=LOGFILE          file for logging
  -b, --background              go to background (detach)
      --no-timestamp            do not prepend timestamp to log entries
      --timestamp[=FORMAT]      prepend timestamp with optional time format
      --profile=NAME            specify profile (see below)
      --file-types=TYPE[,..]    list of file types to serve (see docs)
      --expire-time=SECONDS     advertisement expire time (default 100)
      --help                    display this help and exit
      --version                 output version information and exit

The directories arguments specify where audio files are located.
See strftime(3) for description of the timestamp format.

A profile specified with --profile enables settings for a certain device.
The following values are valid for --profile:

  generic  no custom settings
  mp101    Netgear MP101
  dms1     Omnifi DMS1
  ps3      PlayStation 3

Report bugs to <oskar@osk.mine.nu>.


Menjalankan gmediaserver

./gmediaserver -ieth1 -v4 /audio


Referensi

Pranala Menarik