[Voyage-linux] Re: minidlna problems - add subdirectories to /etc/default/voyage-util??

Steen (spam-protected)
Fri Nov 4 19:02:19 HKT 2011


Joline Portman <joline2 at ...> writes:

> 
> Hi Steen,
> 
> I put just /var/cache in voyage-util. Thats all. 
> 
> To make it persitent you have to sync this:
> 
> remountrw
> /etc/init.d/voyage-sync sync
> remountro
> 
> Joline
> 
> -------- Original-Nachricht --------
> > Datum: Tue, 18 Oct 2011 15:40:12 +0200
> > Von: Steen Pedersen <amtssp at ...>
> > An: voyage-linux at ...
> > Betreff: [Voyage-linux] minidlna problems - add subdirectories to	
/etc/default/voyage-util??
> 
> > Hi I have installed Voyage 0.7 on a thin client with a 500 MB CF-card
> > - everything is fine.
> > 
> > Next I installed Squeezeboxserver - and also this is working fine (if
> > interested in how to do that, please look here:
> > http://forums.slimdevices.com/showthread.php?t=90581 )
> > 
> > But I have difficulties with the minidlna (a small open source dlna
> > server, you can get it via APT-GET).
> > It runs fine if I run "remountrw" but as soon as I is in read only
> > mode it stop working.
> > 
> > I have put the path for the database file in /etc/default/voyage-util,
> > but I think that it needs to be able to make subdirectories to the
> > path - and as far as I can see this is not allowed in Voyage?
> > 
> > So if I put this path in /etc/default/voyage-util: /var/cache/minidlna
> >  it can write in this directory, but it seems like it need to be able
> > to make more directories like
> > /var/cache/minidlna/videos/FOLDERNAME/VIDEO_NAME_1 and
> > /var/cache/minidlna/videos/FOLDERNAME/VIDEO_NAME_2 etc.
> > 
> > My question is: Is it possible to let minidlna make subdirectories to
> > a path defines in /etc/default/voyage-util ? Because I think this is
> > the reason for the problem of running minidlna in read-only mode.
> > 
> > _______________________________________________
> > Voyage-linux mailing list
> > Voyage-linux at ...
> > http://list.voyage.hk/mailman/listinfo/voyage-linux
> 


Hi Joline

Thank you or your suggestion, I followed it and it is better, but I still have 
some issues.
I also added the path /var/cache   in the minidlna config file where you define 
the path for the database - is that correct?

But anyway, when I reboot minidlna does not start, I have to write "minidlna -R" 
then it starts and it is serving the files fine even still in read-only mode.

I have therefore made a script that is executed after reboot.
It sleeps for 5 sec then fires the command minidlna -R - and now it is OK.

Thanks
Steen





More information about the Voyage-linux mailing list