Visualiser fichiers de RAID5 sur smart tv ?

Bonjour à tous

J’ai la possibilité avec mon ordi sous windaube de visualiser le contenu des dossier multimedia avec sur ma tv (smart TV). Cette télé fonctionne avec la wi-fi et je visualise donc comme en streaming les films ou images qui sont contenus dans leurs dossiers respectifs.

j’ai un serveur maison debian et j’aimerais savoir si je pouvais faire la meme chose. Les films (par exemple) sont dans le repertoire /home/raid5/films.
Existe-t-il un logiciel ou un moyen simple que ma tv reconnaisse ce repertoire et y accede afin que je n’ai pas à chaque fois à télécharger les films de mon serveur vers mon ordi pour les regarder ensuite sur ma tv ?

merci à vous

Salut,
Si j’ai bien compris ta TV se connecte à ton ordinateur sur Windows pour lire les films.
Cela fonctionne comment ? Partage cifs ? DLNA ?

Salut
oui tu as compris. et je présume en DLNA

Personne ?

Salut,
Il faut installer un logiciel de dlna sur ton PC sous Debian.
Personellement j’ai choisi minidlna et décidé de l’utiliser sous root pour m’affranchir des droits d’accès aux fichiers

Ficher d’init

[code]/etc/default/minidlna

Defaults for minidlna initscript

sourced by /etc/init.d/minidlna

installed at /etc/default/minidlna by the maintainer scripts

These options can be set to modify the behavior of the minidlna init script.

The options commented out show the default values.

Start the daemon if set to “yes”

START_DAEMON=“yes”

Path to the configuration file

CONFIGFILE="/etc/minidlna.conf"

Path to the log file

LOGFILE="/var/log/minidlna.log"

User and group the daemon should run as

USER="root"
GROUP=“root”

Additional options that are passed to the daemon

DAEMON_OPTS=""[/code]

Fichier de conf /etc/minidlna.conf
ce qui est important c’est le parametre media_dir pour indiquer les répertoires que l’on veut transmettre

@desktop:~$ cat /etc/minidlna.conf
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
# server.
#
# Unless otherwise noted, the commented out options show their default value.
#
# On Debian, you can also refer to the minidlna.conf(5) man page for
# documentation about this file.

# Specify the user name or uid to run as.
#user=minidlna


# Path to the directory you want scanned for media files.
#
# This option can be specified more than once if you want multiple directories
# scanned.
#
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
#   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
#   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
#   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
media_dir=/home/guy/Vidéos
media_dir=/media/guy/Elements/Media/

# Path to the directory that should hold the database and album art cache.
db_dir=/var/cache/minidlna

# Path to the directory that should hold the log file.
log_dir=/var/log

# Type and minimum level of importance of messages to be logged.
#
# The types are "artwork", "database", "general", "http", "inotify",
# "metadata", "scanner", "ssdp" and "tivo".
#
# The levels are "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#
# The types are comma-separated, followed by an equal sign ("="), followed by a
# level that applies to the preceding types. This can be repeated, separating
# each of these constructs with a comma.
#
# The default is to log all types of messages at the "warn" level.
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

# Use a different container as the root of the directory tree presented to
# clients. The possible values are:
#   * "." - standard container
#   * "B" - "Browse Directory"
#   * "M" - "Music"
#   * "P" - "Pictures"
#   * "V" - "Video"
# If you specify "B" and the client device is audio-only then "Music/Folders"
# will be used as root.
#root_container=.

# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
#network_interface=

# IPv4 address to listen on (e.g. 192.0.2.1/24).
# If omitted, the mask defaults to 24. The IPs are added to those determined
# from the network_interface option above.
# This option can be specified more than once.
#listening_ip=

# Port number for HTTP traffic (descriptions, SOAP, media transfer).
# This option is mandatory (or it must be specified on the command-line using
# "-p").
port=8200

# URL presented to clients (e.g. http://example.com:80).
#presentation_url=/

# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
friendly_name=PC GUY

# Serial number the server reports to clients.
# Defaults to 00000000.
serial=681019810597110

# Model name the server reports to clients.
#model_name=Windows Media Connect compatible (MiniDLNA)

# Model number the server reports to clients.
# Defaults to the version number of minidlna.
#model_number=

# Automatic discovery of new files in the media_dir directory.
inotify=yes

# List of file names to look for when searching for album art.
# Names should be delimited with a forward slash ("/").
# This option can be specified more than once.
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# Strictly adhere to DLNA standards.
# This allows server-side downscaling of very large JPEG images, which may
# decrease JPEG serving performance on (at least) Sony DLNA products.
#strict_dlna=no

# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
#enable_tivo=no

# Notify interval, in seconds.
#notify_interval=895

# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock

Dans mon cas j’ai temporisé le démarrage de minidlna pour que le disque usb où sont mes medias soit bien monté avant que minidlna démarre
minidlna-temporiser-son-demarrage-t51713.html#p524765

Si tu as un firewall , autoriser l’accès entre le PC et la télé (adresses ip locales)
Pour ça j’utilise gufw pour gérer facilement les règles du firewall

Salut et Merci grandtoubab
Cela pose-t-il problème si le chemin de mes médias est /home/raid5/videos ? il s’agit d’un raid 5 comme son nom l’indique…
faut-il que ce repertoire appartienne à un groupe ?

merci beaucoup déjà :slightly_smiling:

bon visiblement, il y a un problème lors de l’install

[code]root@smtp:~# aptitude install minidlna
Les NOUVEAUX paquets suivants vont être installés :
libid3tag0{a} minidlna
Les paquets partiellement installés suivants seront configurés :
libc6-dev{b} man-db
0 paquets mis à jour, 2 nouvellement installés, 0 à enlever et 211 non mis à jour.
Il est nécessaire de télécharger 0 o/186 ko d’archives. Après dépaquetage, 465 ko seront utilisés.
Les paquets suivants ont des dépendances non satisfaites :
libc6-dev : Dépend: libc6 (= 2.13-38+deb7u8) mais 2.13-38+deb7u7 est installé et a été conservé
libc6 : Dépend: libc-bin (= 2.13-38+deb7u7) mais 2.13-38+deb7u8 est installé.
Les actions suivantes permettront de résoudre ces dépendances :

 Mettre à jour les paquets suivants :
  1. libc6 [2.13-38+deb7u7 (now) -> 2.13-38+deb7u8 (oldstable)]
    

Accepter cette solution ? [Y/n/q/?] y
Les NOUVEAUX paquets suivants vont être installés :
libid3tag0{a} minidlna
Les paquets suivants seront mis à jour :
libc6
Les paquets partiellement installés suivants seront configurés :
libc6-dev man-db
1 paquets mis à jour, 2 nouvellement installés, 0 à enlever et 210 non mis à jour.
Il est nécessaire de télécharger 0 o/4 521 ko d’archives. Après dépaquetage, 461 ko seront utilisés.
Voulez-vous continuer ? [Y/n/?] y
Lecture des fichiers de modifications (« changelog »)… Terminé
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver “config”: mkdir :Aucun fichier ou dossier de ce type
(Lecture de la base de données… 161895 fichiers et répertoires déjà installés.)
Préparation du remplacement de libc6:amd64 2.13-38+deb7u7 (en utilisant …/libc6_2.13-38+deb7u8_amd64.deb) …
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver “config”: mkdir :No such file or directory
dpkg: erreur de traitement de /var/cache/apt/archives/libc6_2.13-38+deb7u8_amd64.deb (–unpack) :
le sous-processus nouveau script pre-installation a retourné une erreur de sortie d’état 1
Des erreurs ont été rencontrées pendant l’exécution :
/var/cache/apt/archives/libc6_2.13-38+deb7u8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Échec de l’installation d’un paquet. Tentative de réparation :
Paramétrage de man-db (2.6.2-1) …
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver “config”: mkdir :Aucun fichier ou dossier de ce type
dpkg: erreur de traitement de man-db (–configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
dpkg: des problèmes de dépendances empêchent la configuration de libc6-dev:amd64 :
libc6-dev:amd64 dépend de libc6 (= 2.13-38+deb7u8) ; cependant :
La version de libc6:amd64 sur le système est 2.13-38+deb7u7.

dpkg: erreur de traitement de libc6-dev:amd64 (–configure) :
problèmes de dépendances - laissé non configuré
Paramétrage de clamav-freshclam (0.98.6+dfsg-0+deb7u1) …
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver “config”: mkdir :Aucun fichier ou dossier de ce type
dpkg: erreur de traitement de clamav-freshclam (–configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
dpkg: des problèmes de dépendances empêchent la configuration de clamav-daemon : clamav-daemon dépend de clamav-freshclam (>= 0.98.6+dfsg) | clamav-data ; cependant :
Le paquet clamav-freshclam n’est pas encore configuré.
Le paquet clamav-data n’est pas installé.
Le paquet clamav-freshclam qui fournit clamav-data n’est pas encore configuré.
dpkg: erreur de traitement de clamav-daemon (–configure) :
problèmes de dépendances - laissé non configuré
Paramétrage de bind9 (1:9.8.4.dfsg.P1-6+nmu2+deb7u4) …
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver “config”: mkdir :Aucun fichier ou dossier de ce type
dpkg: erreur de traitement de bind9 (–configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
dpkg: des problèmes de dépendances empêchent la configuration de clamav :
clamav dépend de clamav-freshclam (>= 0.98.6+dfsg) | clamav-data ; cependant :
Le paquet clamav-freshclam n’est pas encore configuré.
Le paquet clamav-data n’est pas installé.
Le paquet clamav-freshclam qui fournit clamav-data n’est pas encore configuré.
dpkg: erreur de traitement de clamav (–configure) :
problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l’exécution :
man-db
libc6-dev:amd64
clamav-freshclam
clamav-daemon
bind9
clamav[/code]

Debconf?
connais pas
Fais voir la /etc/apt/sources.list

[code]@desktop:/etc/apt$ cat sources.list

deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free

deb http://ftp.fr.debian.org/debian/ jessie-updates main contrib non-free

deb http://ftp.fr.debian.org/debian/ jessie-backports main contrib non-free[/code]

voici

[code]# deb cdrom:[Debian GNU/Linux 7.1.0 Wheezy - Official amd64 NETINST Binary-1 $
#deb cdrom:[Debian GNU/Linux 7.1.0 Wheezy - Official amd64 NETINST Binary-1 2$
deb http://ftp.fr.debian.org/debian/ wheezy main
deb-src http://ftp.fr.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

wheezy-updates, previously known as ‘volatile’

deb http://ftp.fr.debian.org/debian/ wheezy-updates main
deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main

squeeze multimedia

##deb http://www.debian-multimedia.org squeeze main non-free
##deb-src http://mirror.home-dn.net/debian-multimedia squeeze main

squeeze

##deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
###deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free[/code]

ok, t’es pas à la dernière version “Jessie”.
Chapitre 4. Mises à niveau depuis Debian 7 (Wheezy)
debian.org/releases/stable/ … ng.fr.html
je sais pas ce qui ne va pas avec ta version.
tout d’abord vérifier l’état des paquets sous l’opérateur root:

Il ne doit pas y avoir d’erreur, sinon les réparer avant toute mise à jour.
man7.org/linux/man-pages/man1/dpkg.1.html