You are not logged in.

#1 2012-06-23 20:47:08

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Minidlna broken since recently?

Hi Archers,

I've been using MiniDlna for awhile and happy with it. Then since a month it won't update new media but will still play the previously known media. It woudn't update media on the fly via inotify or at startup. Because the system drive was getting full I decided to install a fresh Arch Linux on a different drive. I kept all the important conf files etc for everything so that the system would be the same.

Now MiniDlna still won't load any new music and thus the media list is completely empty as it is new install. To be clear, the Roku Soundbridge connects to MiniDlna just fine and can navigate as it were but the media list is empty. I tried to change owner in conf.d from nobody to root to username but to no avail. The dir's are setup according to the wiki and worked just fine until about a month ago. I've checked the permissions for /var/cache/minidlna, /var/log/minidlna, and the music directory repeatedly. Also tried AUR package but the same.

Here's the error:

[mythtv@server ~]$ sudo /etc/rc.d/minidlna restart
:: Stopping minidlna     [FAIL] 
:: Starting minidlna     [BUSY] [2012/06/23 22:28:42] getifaddr.c:69: error: ioctl(s, SIOCGIFADDR, ...): No such device
[2012/06/23 22:28:42] minidlna.c:778: error: Usage:
	/usr/sbin/minidlna [-d] [-v] [-f config_file]
		[-a listening_ip] [-p port]
		[-s serial] [-m model_number] 
		[-t notify_interval] [-P pid_filename]
		[-w url] [-R] [-V] [-h]

Notes:
	Notify interval is in seconds. Default is 895 seconds.
	Default pid file is /var/run/minidlna.pid.
	With -d minidlna will run in debug mode (not daemonize).
	-w sets the presentation url. Default is http address on port 80
	-h displays this text
	-R forces a full rescan
	-L do note create playlists
	-V print the version number

Here's my minidlna.conf (which used to work just fine)

network_interface=eth0         # Self-discovers if commented (at times necessary to set)
media_dir=A,/media/storage/shared/Common/music/mp3
friendly_name=Music Server      # Optional
db_dir=/var/cache/minidlna      # Needs to be un-commented
log_dir=/var/log/minidlna       # Needs to be un-commented
inotify=yes                     # 'no' for less resources, restart required for new media

Any ideas or similar exeriences? Thnx!

Last edited by wdirksen (2012-06-24 09:02:10)


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

#2 2012-06-24 09:01:10

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Re: Minidlna broken since recently?

OK found the culprit and it had to do with dependancies. Sqlite was installed as a depandancy of minidlna. Yet it was only after I installed sqlite2 that a media database was formed upon starting the minidlna daemon. I think this has been the problem all along since it stopped updating the db awhile ago, and wouldn't start to build one with this new install. Maybe somewhere in the continuing Arch update process sqlite wasn't adequate anymore to update the database?

There is still an:

getifaddr.c:69: error: ioctl(s, SIOCGIFADDR, ...): No such device

so I don't know if inotify update is working or not but it does load media at startup and streams to the Soundbridge now.

How do I go about reporting the dependancy problem to the owner?

Last edited by wdirksen (2012-06-24 09:23:38)


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

Board footer

Powered by FluxBB