[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)
Sign up here and you can log into the forum!

MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby sonic_blue » Sun Apr 28, 2013 1:46 pm

sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby recliq » Tue Apr 30, 2013 6:21 am

Note: If you disable inotify support, MiniDLNA will not be aware of new files added after the last database indexing, I guess...
inotify is used to tell a process when a file or directory changes, meaning if you enable inotify support in minidlna it should
notice if you add new files and update it's database.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to for a beer or a new flash drive. ...and always remember: RTFM! (, , ) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby sonic_blue » Tue Apr 30, 2013 11:56 am

sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby sonic_blue » Tue Apr 30, 2013 1:53 pm

I think what's taking so long to generate the database in my case is the playlist files I have at the root of each audio folder. Minidlna is scanning through each playlist file to check that the paths within them are correct, and this takes HOURS.

If I could tell minidlna to ignore playlist files then this would shorten the database build time from hours to just a few minutes. Is there any way to tell minidlna which file types to share or ignore? Maybe something I can add to minidlna.conf to specify file types?

eg. filetypes="mp3|flac|m4a|wav" etc.
sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby sonic_blue » Tue Apr 30, 2013 2:25 pm

sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby recliq » Wed May 01, 2013 1:26 pm

­WDLXTV Project Maintainer
-:] If you like my contributions feel free to for a beer or a new flash drive. ...and always remember: RTFM! (, , ) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby sonic_blue » Wed May 01, 2013 4:48 pm

Thanks, that looks like it should work. I'm new to linux and C...am I correct in thinking that I need to make the change to scanner.c, then recompile it to minidlna.app.bin using the makefile, and then place the file onto my USB drive?

edit:

Also if you could share any other tips on how to compile correctly for wdtv so that I don't screw anything up that would be much appreciated :)
sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby recliq » Wed May 01, 2013 11:29 pm

Basically that's it, yes.
I haven't compiled minidlna for WDTV so far, I have to ask RMerlin who built this app.bin, how he built it. Seems there are some pitfalls to watch out for (eg. you need to statically link some libraries to get them to work on WDTV...)
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to for a beer or a new flash drive. ...and always remember: RTFM! (, , ) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby sonic_blue » Thu May 02, 2013 11:09 pm

Thanks, I have sent RMerlin a PM. If it works and reduces the db build time to something reasonable such as a few minutes, then I can just launch rebuilds via the DoSomething plugin to overcome this issue of minidlna not detecting changes to the library while wdtv not running. Otherwise it's a massive pain: turn PC on, log into wdtv, launch rebuild in debug mode, wait 3 hours until it finally says it finished the database. Not much fun :shock:

I am using it to stream to xbox while playing games, which seems to work fairly well, but as soon as I want to add some more tracks to the library it's going to be a long wait...

The reason I have such large playlist files in the first place is because wdtv has no way to select all music of a particular genre or artist. eg. if you sort by genre it then gives you a list of artists, without having any way to just play all files of that genre. So, I had to make a playlist for each genre, artist etc. Stupid, stupid programmers of wdtv :?
sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

Re: MiniDLNA 1.0.24 - 1.7 (18-Feb-2012)   

Postby sonic_blue » Thu May 02, 2013 11:27 pm

I guess a better way to solve the inconvenience of having to do manual rebuilds is to write a simple script that calculates the size of media_dir every x seconds, and if it's changed, then launch a rebuild.
sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

PreviousNext

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 1 guest

cron