I have two fixes for MiniDLNA on Mac OS X.
These fixes are from some other help topics around the forums but it may help someone quicker as it took me some times to find them.
First the MKV issue that I have been having.
else if( strcmp(ctx->iformat->name, "matroska") == 0 )
else if( strcmp(ctx->iformat->name, "matroska,webm") == 0 )
next my Samsung D series TV would not working(Rewind and Fast Forward still don't work)
This will let you play videos.
Beneath Playstation I added
else if(strstrc(p, "SEC_HHP_", '\r'))
h->req_client = ESamsungTV;
h->reqflags |= FLAG_DLNA;
h->reqflags |= FLAG_NO_RESIZE;
I know this has been covered in other threads on here but I felt the need to incorporate it into one topic and easier to find for people.
Both of these have been in CVS for quite a long time.
Ok, then I was using the incorrect Branch, does the MAIN branch have a inotify equivalent working on OS X? someway to update files so I don't have to restart minidlna n rebuild the database every time?
No, there isn't any OSX file alteration monitoring code in MAIN. Hopefully some day we'll get kqueue support put in there (patches welcome!).
I managed to get FSEvent support added, but don't know how the configure system works, had to edit the generated makefile to get it to work... If anyone is interested in doing that I can post a link to a download in the next couple of days when I work out the last little bug...
Here is a download link, configures and makes now, but it got it working by adding lines to makefile.am, will only compile on a mac... only works with one media_dir in your config file currently will fix that next weekend, just configure and make and add fsevent=yes to your minidlna.conf and it should work
here is the download link https://truck.it/p/PJNEkrD8wh
Kevin, do you still have the code available? That truck.it link didn't work.
Try this one, it's an updated version with a bugfix, and should now work with multiple media dirs in config file... https://truck.it/p/DzppAnellh if it doesn't work I'll try find another place to upload it to....
@Kevin: I tried that link, but it didn't work... could you put it on github or sourceforge?
@Kevin: I finally got it to download.. what would be the best way to contact you? I have some ideas for other minidlna-related projects.
You can just send me an email, image28 at slingshot dot co dot nz
Also, Mac's FSevent system scans the whole folder and detects a change, so when something changes it re-updates the whole folder, so try not to update the root media folder or it will refresh the whole database... Also doesn't follow symbolic links to folders, I uses symbolic links to create a virtual drive that merges all my hard-drives, got around the symbolic link problem by auto creating a skeleton directory structure then symbolicly linking to the file in each dir/subdir...
The mac FSevent system was way easier to code than linux's inotify system, but inotify is a lot faster and better....
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.