How to: UPNP Media sharing with MiniDLNA

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
anees.sw
DD-WRT User


Joined: 17 Sep 2010
Posts: 267
Location: India

PostPosted: Tue Jan 11, 2011 16:34    Post subject: Reply with quote
ok can someone tell me where these files go?

edit: ok ive trnfsered the files and its working fine now!! only problem is that any file with a hyphen '-' in its name will cause the media scanning to break
Sponsor
anees.sw
DD-WRT User


Joined: 17 Sep 2010
Posts: 267
Location: India

PostPosted: Thu Jan 13, 2011 5:29    Post subject: Reply with quote
bump
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Mon Jan 17, 2011 2:56    Post subject: Reply with quote
Sorry, I've been working long days and haven't been able to get on here. I am starting fresh with my router install because it didn't like me swapping hard drives. Maybe this is what I need to get things working.

The library files go in your /opt/usr/lib folder. :)

I'm populating it now.
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Mon Jan 17, 2011 20:44    Post subject: Reply with quote
Ok, your libraries fixed my avi files not being read, but the videos are still populated in the wrong library.

I am going to check out the database that was developed just to make sure that they are really being inserted wrong, or if it is WMP.

Edit: ok, I've figured out why movies are showing under music. The program works on compiling the video library and gets stuck (or the module crashes) while importing a movie (for me it is always Blues Brothers). The remaining movies that haven't been imported are then populated into music since they're in a folder specified in the database, but not assigned a library... I don't know why this is happening, but it is likely related to the previously mentioned file.
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Tue Jan 18, 2011 17:53    Post subject: Reply with quote
@boke Did you custom-compile libffmpeg too? Maybe this is causing my issues :/

If you have a different ipkg for libffmpeg, please post it, so I can test with that one. Thanks.


Last edited by mdneilson on Tue Jan 18, 2011 21:42; edited 1 time in total
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Tue Jan 18, 2011 20:13    Post subject: Reply with quote
anees.sw wrote:
ok can someone tell me where these files go?

edit: ok ive trnfsered the files and its working fine now!! only problem is that any file with a hyphen '-' in its name will cause the media scanning to break


Your videos populate correctly... except for those with hyphened names?
anees.sw
DD-WRT User


Joined: 17 Sep 2010
Posts: 267
Location: India

PostPosted: Wed Jan 19, 2011 15:21    Post subject: Reply with quote
cant be sure. sometimes simply adding a new file to the library causes all the files to disappear till i restart the router

sometimes files with a hyphen break the population (meaning when it reaches this file it stops populating, so if the the 4th file out a 100 has a hyphen only 4 will show up in library) ,sometimes files with long names break the population though i havent been able to determine how long exactly does the name have to be to break.
boke
DD-WRT Novice


Joined: 22 Feb 2007
Posts: 34

PostPosted: Thu Jan 20, 2011 3:46    Post subject: Reply with quote
mdneilson wrote:
@boke Did you custom-compile libffmpeg too? Maybe this is causing my issues :/

If you have a different ipkg for libffmpeg, please post it, so I can test with that one. Thanks.


Yes I compiled them with Buildroot.

Here are all of the libraries in a zip file.

I'm working on an ipkg install.
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Thu Jan 20, 2011 5:55    Post subject: Reply with quote
boke wrote:
mdneilson wrote:
@boke Did you custom-compile libffmpeg too? Maybe this is causing my issues :/

If you have a different ipkg for libffmpeg, please post it, so I can test with that one. Thanks.


Yes I compiled them with Buildroot.

Here are all of the libraries in a zip file.

I'm working on an ipkg install.


I tried using the ones you posted earlier. I was able to import more file types, but the scanner appears to freeze still. I tried compiling them myself using the openwrt svn repo using subversion, but that kept failing for some reason, so I had to grab the ones that I attached from another site :/. I'll give it another go with yours, maybe I'll get lucky.

Thanks!

PS. If you can get the openwrt svn to work, you can compile a package straight from them.

Code:

svn co svn://svn.openwrt.org/openwrt/trunk/
cd trunk/
./scripts/feeds update
./scripts/feeds install -a
make menuconfig
make tools/install
make toolchain/install
make package/ffmpeg/compile


edit: no good... same results Sad Hmmm... weird... i just noticed that my h264 .mp4 files are being sent as .m4a files. Confused
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Fri Jan 21, 2011 8:07    Post subject: Reply with quote
I see you have a uclibc.so in there... is this custom, or stock?
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Wed Feb 09, 2011 6:17    Post subject: Reply with quote
The tutorial has been updated to a fully working install. Thanks for your patience.
javigr
DD-WRT Novice


Joined: 22 Apr 2011
Posts: 9

PostPosted: Wed Apr 27, 2011 10:16    Post subject: Reply with quote
Hi

If I start minidlna it works but I cant get it to run on automaticaly on reboot.
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Wed Apr 27, 2011 22:04    Post subject: Reply with quote
javigr wrote:
Hi

If I start minidlna it works but I cant get it to run on automaticaly on reboot.


If the startup file in /opt/etc/init.d isn't queuing the program on startup correctly, add this to your startup script in the DD-WRT web ui.

minidlna -f opt/etc/minidlna.conf &

Let me know if that works.
javigr
DD-WRT Novice


Joined: 22 Apr 2011
Posts: 9

PostPosted: Wed Apr 27, 2011 23:29    Post subject: Reply with quote
mdneilson wrote:
javigr wrote:
Hi

If I start minidlna it works but I cant get it to run on automaticaly on reboot.


If the startup file in /opt/etc/init.d isn't queuing the program on startup correctly, add this to your startup script in the DD-WRT web ui.

minidlna -f opt/etc/minidlna.conf &

Let me know if that works.


Not working. if I do it manualy I use this command

minidlna -f /mnt/opt/etc/minidlna.conf

if I try with minidlna -f opt/etc/minidlna.conf does not work
mdneilson
DD-WRT User


Joined: 17 Sep 2008
Posts: 115

PostPosted: Thu Apr 28, 2011 0:42    Post subject: Reply with quote
javigr wrote:
Not working. if I do it manualy I use this command

minidlna -f /mnt/opt/etc/minidlna.conf

if I try with minidlna -f opt/etc/minidlna.conf does not work


Do you have your /mnt/opt folder mounted to /opt? I assume that you do.

You need to include the preceding forward slash, or dd-wrt will assume the folder is located in your current directory and not the system root (when you log in the default is root - not system root). So...
minidlna -f /opt/etc/minidlna.conf
Sorry if I missed that.

Edit: yep, I typo'd it. Change the command in /opt/etc/init.d/minidlna to include the preceding slash, that should fix it.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next Display posts from previous:    Page 3 of 7
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum