NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
droz1
Dec 19, 2010Aspirant
ReadyDLNA stuck scanning files have debug installed
Hey everyone,
Have an odd problem that started up the other day.
My ReadyDLNA service is stuck scanning files, I've restarted it several time, even turned the service off for a whole day and turned it back on, same problem. Because it's stuck rescanning, I can only see about half of my video files on my PS3, it's the only device I use to stream. I saw a few posts that hints at certain types/kinds of files being the culprit. So I moved a few newer files off my NVX and I haven't seen change in anything. Access my video files via SMB/CIFS is fine.
I read on the forums a bit and installed the debug add-on. I poked around in the upnp-av.log file and didn't see anything obvious that stood out that would cause the problem.
Any help is appreciated
Thanks
Have an odd problem that started up the other day.
My ReadyDLNA service is stuck scanning files, I've restarted it several time, even turned the service off for a whole day and turned it back on, same problem. Because it's stuck rescanning, I can only see about half of my video files on my PS3, it's the only device I use to stream. I saw a few posts that hints at certain types/kinds of files being the culprit. So I moved a few newer files off my NVX and I haven't seen change in anything. Access my video files via SMB/CIFS is fine.
I read on the forums a bit and installed the debug add-on. I poked around in the upnp-av.log file and didn't see anything obvious that stood out that would cause the problem.
Any help is appreciated
Thanks
31 Replies
Replies have been turned off for this discussion
- mks1AspirantI encountered a similar issue[1] (which I posted before noticing there was a separate ReadyDLNA sub-folder) where scanning appeared to be "stuck", but in fact was no longer running due to MiniDLNA crashing. You should be able to identify the culprit(s) by logging in and manually performing the scan. Install the SSH add-on, login as root and run:
minidlna -d -R
[1]: http://www.readynas.com/forum/viewtopic.php?f=22&t=48705 - droz1AspirantAh thanks!
OK so this is what I got....
Lucius:~# minidlna -d -R
Unknown option in file /etc/minidlna.conf
[2010/12/19 18:36:57] minidlna.c:631: error: MiniDLNA is already running. EXITING.
here's my minidlna.conf file....
Lucius:~# cat /etc/minidlna.conf
# port for HTTP (descriptions and SOAP) traffic
port=8200
# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
# can prepend the type, followed by a comma, to the directory:
# + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=V,/c/Videos
# set this if you want to customize the name that shows up on your clients
#friendly_name=My DLNA Server
# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes
# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no
# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php
# report system uptime instead of daemon uptime
system_uptime=no
# notify interval in seconds. default is 30 seconds.
notify_interval=900
# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1 - mks1AspirantI'm not sure which line in the config is causing the 'unknown option' message offhand, but you'll need to stop the ReadyDLNA service before running it manually. You can either use Frontview or the following command:
kill `cat /var/run/minidlna.pid` - droz1AspirantHey MKS,
Thanks for that. I found the bad files and moved them off my NAS.....ReadyDLNA back to normal.
Thanks! - vic20ianAspirantHi,
What were the bad files you moved in order to get this to work?
Thanks
Ian - MarvellAspirantI'am having the same issue.
I dont undestand why the people doesn't publish the final solution. - droz1AspirantThe final solution was noted in the post. You have to run DLNA in debug mode from the command line. It will tell you EXACTLY which files it has a problem with. Then you just delete them and that's it
- droz1AspirantThe problem I had was that the files themselves were corrupt. Even windows had a problem with them. So if there's a problem with DLNA not able to read them, best to just delete them and find another torrent or whatever
- dsteakAspiranti installed SSH root access, but where do i log in? i don't see SSH in my available addons.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!