Forum debian-fr.org

Rechercher:

* Connexion   * M’enregistrer

* FAQ    * Rechercher





Poster un nouveau sujet Répondre au sujet  [ 3 messages ] 
Auteur Message
MessagePosté: 29 Avr 2012 16:25 
Hors ligne
Grand posteur
Avatar de l’utilisateur

Inscription: 19 Mai 2007 21:41
Messages: 130
Localisation: bretagne
bonjour

après avoir passé un peu de temps pour faire fonctionner mpdroid
MPdroid est un client utilisé sur smartphone pour mpd

je post ici mon tuto

la base : avoir un mpd fonctionnel sur pc

puis installer mpdroid sur smartphone android et configurer les parametres :

hote: l'ip du pc auquel on se connecte
port du serveur mpd : 6600(laisser par defaut)
mot de passe: selon les cas
hote streaming : My HTTP Stream
port streaming: 8000 (laisser par defaut)

puis configurer mpd.conf pour l'avoir sur le smartphone , voir les extraits de mon mpd.conf pour mpdroid.
les parties qui concernent mpdroid sont en bleu
Citation:
# General music daemon options ################################################
#
# This setting specifies the user that MPD will run as. MPD should never run as
# root and you may use this setting to make MPD change its user ID after
# initialization. This setting is disabled by default and MPD is run as the
# current user.
#
user "franck"
#
# This setting specifies the group that MPD will run as. If not specified
# primary group of user specified with "user" setting will be used (if set).
# This is useful if MPD needs to be a member of group such as "audio" to
# have permission to use sound card.
#
#group "nogroup"
#
# This setting sets the address for the daemon to listen on. Careful attention
# should be paid if this is assigned to anything other then the default, any.
# This setting can deny access to control of the daemon.
#
# For network
bind_to_address "0.0.0.0"
#
# And for Unix Socket
#bind_to_address "~/.mpd/socket"
#
# This setting is the TCP port that is desired for the daemon to get assigned
# to.
#
port "6600"
#
# This setting controls the type of information which is logged. Available
# setting arguments are "default", "secure" or "verbose". The "verbose" setting
# argument is recommended for troubleshooting, though can quickly stretch
# available resources on limited hardware storage.
#
#log_level "default"
#
# If you have a problem with your MP3s ending abruptly it is recommended that
# you set this argument to "no" to attempt to fix the problem. If this solves
# the problem, it is highly recommended to fix the MP3 files with vbrfix
# (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
# point gapless MP3 playback can be enabled.
#
#gapless_mp3_playback "yes"
#
# This setting enables MPD to create playlists in a format usable by other
# music players.
#
#save_absolute_paths_in_playlists "no"
#
# This setting defines a list of tag types that will be extracted during the
# audio file discovery process. Optionally, 'comment' can be added to this
# list.
#
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
#
# This setting enables automatic update of MPD's database when files in
# music_directory are changed.
#
#auto_update "yes"
#
# Limit the depth of the directories being watched, 0 means only watch
# the music directory itself. There is no limit by default.
#
#auto_update_depth "3"
#
###############################################################################


Dans la partie audio

Citation:

# Audio Output ################################################################
#
# MPD supports various audio output types, as well as playing through multiple
# audio outputs at the same time, through multiple audio_output settings
# blocks. Setting this block is optional, though the server will only attempt
# autodetection for one sound card.
#
# See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> for examples of
# other audio outputs.
#
# An example of an ALSA output:
#
audio_output {
type "alsa"
name "usb-audio"
## device "hw:1,0" # optional
## format "44100:16:2" # optional
## mixer_type "hardware" # optional
## mixer_device "default" # optional
## mixer_control "PCM" # optional
## mixer_index "0" # optional
}
#
# An example of an OSS output:
#
#audio_output {
# type "oss"
# name "My OSS Device"
## device "/dev/dsp" # optional
## format "44100:16:2" # optional
## mixer_type "hardware" # optional
## mixer_device "/dev/mixer" # optional
## mixer_control "PCM" # optional
#}
#
# An example of a shout output (for streaming to Icecast):
#
#audio_output {
# type "shout"
# encoding "ogg" # optional
# name "My Shout Stream"
# host "localhost"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
## protocol "icecast2" # optional
## user "source" # optional
## description "My Stream Description" # optional
## genre "jazz" # optional
## public "no" # optional
## timeout "2" # optional
## mixer_type "software" # optional
#}
#
# An example of a recorder output:
#
#audio_output {
# type "recorder"
# name "My recorder"
# encoder "vorbis" # optional, vorbis or lame
# path "/var/lib/mpd/recorder/mpd.ogg"
## quality "5.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
# format "44100:16:1"
#}
#
# An example of a httpd output (built-in HTTP streaming server):
#
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"

# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
## quality "5.0" # do not define if bitrate is defined
bitrate "128" # do not define if quality is defined
format "44100:16:1"

# max_clients "0" # optional 0=no limit
}
#

_________________
trial boot 7-archlinux-wheezy XFCE
eeebox arch xfce 4.10
Recherche avec Seek:http://www.seek.fr


Dernière édition par fran le 01 Mai 2012 10:46, édité 3 fois.

Haut
 Profil  
 
 Sujet du message: Re: partage tuto pour mpdroid
MessagePosté: 29 Avr 2012 16:28 
Hors ligne
Dieu du clavier.
Avatar de l’utilisateur

Inscription: 13 Mar 2009 08:30
Messages: 12039
Localisation: Madagascar - Isalo
Salut,
Merci beaucoup pour le partage!
Mais... C'est quoi mpdroid ?

_________________
GO Compréhensif...
SID 3.8-etc...-aptosid-amd64 && Xfce 4.10
"Pastbin" / "service d'hébergement d'images" Visitez et Participez au wiki du forum!


Haut
 Profil  
 
 Sujet du message: Re: partage tuto pour mpdroid
MessagePosté: 29 Avr 2012 16:42 
Hors ligne
Grand posteur
Avatar de l’utilisateur

Inscription: 19 Mai 2007 21:41
Messages: 130
Localisation: bretagne
MPDroid permet de contrôler un serveur MPD (Music Player Daemon) et de gerer votre musique en streaming sur un smartphone android.
En gros j'ai une eeebox 1501 dans le salon que j'utilise comme serveur multimedia via mpd pour la musique (aussi video et web sur une tv), une fois mpd/sonata lancé , je peux tout gerer en wifi , tv éteinte , via mon smartphone et mpdroid .

https://play.google.com/store/apps/deta ... roid&hl=fr

une video (il utilise pmix et un Seagate DockStar,dans mon cas mpdroid et eeebox , le principe est le meme)
http://www.youtube.com/watch?v=yxttHqXoH6Q

_________________
trial boot 7-archlinux-wheezy XFCE
eeebox arch xfce 4.10
Recherche avec Seek:http://www.seek.fr


Haut
 Profil  
 
Afficher les messages postés depuis:  Trier par  
Poster un nouveau sujet Répondre au sujet  [ 3 messages ] 

Index du forum » Forums d'aide » Trucs et Astuces


Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité


Vous ne pouvez pas poster de nouveaux sujets
Vous ne pouvez pas répondre aux sujets
Vous ne pouvez pas éditer vos messages
Vous ne pouvez pas supprimer vos messages
Vous ne pouvez pas joindre des fichiers

Rechercher:
Aller à:  
Flux RSS Flux RSS Liste des flux Liste des flux
Powered by phpBB® Forum Software © phpBB Group
Traduction par: phpBB-fr.com
SEO
[ Time : 0.087s | 14 Queries | GZIP : Off ]