Source : http://cn.networkedmediatank.com/showthread.php?tid=38371&pid=638119 et https://bbs.archlinux.org/viewtopic.php?id=52402 (pour l’update à la main de la base de données).
Everything is working like a charm now on popcorn Hour C-200.
A Great Thanks to vaidyasr on this one, you deserve all our gratitude and more if we can.
I first made a factory reset on C-200, and a DEEP CLEAN via CommunitySoftwareInstaller on PC –> Extra –> advanced.
Then i installed « BusyBox latest-nmt1 » via CSI.
Next was « local 0.1.8-nmt4 » via CSI too.
On telnet:
sh-3.00# opkg update
Downloading sourceforge net/projects/c200ipkg/files/Packages.
Updated list of available packages in /share/Apps/local/lib/opkg/lists/c200local.
Downloading sourceforge net/projects/c200opkgdev/files/Packages.
Updated list of available packages in /share/Apps/local/lib/opkg/lists/c200devlocal.
sh-3.00# opkg install mpd16.8
Installing mpd16.8 (0.16.8-1) to root…
Downloading sourceforge net/projects/c200ipkg/files/mpd16.8_0.16.8-1_mips.ipk.
…
…
…
Installing start-stop-daemon (9.18.2-1) to root…
Downloading sourceforge net/projects/c200ipkg/files/start-stop-daemon_9.18.2-1_mips.ipk.
Configuring libsidplay2-1.
Configuring tcpd.
Configuring libwrap0.
Configuring libtheora0.
…
…
…
Configuring libmpcdec6.
Configuring libltdl7.
Configuring libmpg123-0.
Configuring libsndfile1.
Configuring start-stop-daemon.
Configuring mpd16.8.
Starting Music Player Daemon: Failed to load database: Failed to open database file « /share/Apps/local/etc/mpd/database »:
No such file or directory
Creating database can take a time, be patient!
Finally install mpc with opkg to control mpd via the device of your choice.
I just restarted the Popcorn C-200 & everything is really great now.
Never forget to turn on NMT apps on POPCORN before installing apps on it.
If no sound on HDMI, try « PASSTHROUGH » on C-200 audio settings instead of « Downmix »
with opkg: C200_IP:9999/local_web/ verify that you have the last busybox v.1.21.1-2
Si pas de son :
Si MPD était déjà installé sur votre serveur, il se peut que la ré-install via Telnet vous remonte l’erreur suivante :
Collected errors:
* resolve_conffiles: Existing conffile /share/Apps/local/etc/default/mpd is different from the conffile in the new package. The new conffile will be placed at /share/Apps/local/etc/default/mpd-opkg.
Renommez /share/Apps/local/etc/default/mpd en mpd-old et /share/Apps/local/etc/default/mpd-opkg en mpd. Ce qui revient à utiliser la config fournie avec la dernière install en date.
Par contre, deux remarques :
- une install de MPD depuis CSI ou opkg ne fonctionnera pas avec la méthode décrite ci-dessus -> il faut passer par Telnet
- il faut, à priori, redémarrer MPD via Telnet à chaque fois que vous éteindrez et rallumerez votre Popcorn (et ça c’est un peu pourri, parce qu’il me semble qu’avec une version plus ancienne le problème ne se présentait pas).
Commande Telnet pour redémarrer MPD :
/share/Apps/local/etc/init.d/mpd start
Mettre à jour la base de données :
The mpd « update » command can receive a relative path as argument, allowing you to say which subdirectory of the db you want to update. It’s useful when you add only a few songs. Example:
$ cp -r artist/album /path/to/musicdb/artist
$ mpc update artist/album
The path you give to « mpc update » is relative to the root of the music db you defined in mpd.conf:
$ mpc update /path/to/musicdb/path/to/update-dir # wrong
$ mpc update path/to/update-dir # correct