Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I have a Samsung C series TV that was able to automatically refresh changes
made in the minidlna server (media additions, deletions, etc). I appears
that whenever a media directory is accessed on the TV, it reads the
minidlna database; therefore it is always displaying updates.
The problem is that my new Samsung F TV seems to cache. It does not
automatically pick up changes in minidlna. Haven't figured out how to make
the TV refresh so I can see updates. I have to restart the server, the tv,
or wait half hour or so.
Samsung's Link (dlna software) has a refresh button that triggers the
refresh. It looks like it just re-sends SSDP requests.
Is there any way to solve this on the minidlna server side? No caching by
the client? If so, where can I find this in the code to customize.
So it doesn't issue Browse or Search requests if you've already browsed a folder?
The way it's supposed to work is, the client may subscribe to SystemUpdateID events, and when content changes we notify the client. Alternatively, they can issue a GetSystemUpdateID request or re-issue Search or Browse requests and check the UpdateID to see if it has changed. If it has, then they are supposed to use the new results.
No, looks like the tv doesn't issue browse or search requests if you've already browsed the folder. It reads from a cache afterward. Samsung is annoying and proprietary.
I've put in a request with Samsung to provide a refresh button on the TV, but I'm not holding my breadth.
Thanks for the clarification.
What kind of SSDP packets get sent by Samsung's software to trigger a refresh, anyway?
Attached network monitor of SSDP and http when I push the refresh button on the Samsung Link dlna software.
When I push refresh button, the TV momentarily displays 'device disconnected' message if I am inside a shared minidlna folder. Then I can see the updates.
If I delete a file on minidlna, it is interesting that the file remains on the tv, but the thumbnail is removed. Looks like the artwork is not cached.
I thought that might be the case. They're effectively just doing a full restart. It's too bad they don't like following the standard.
Well...I finally found a repeatable solution to this annoying 1st-world problem that might help anyone with a new Samsung Tv that makes frequent media updates to Minidlna.
The TV also supports streaming from cloud drives such as skydrive and dropbox. I was thinking about using skydrive as my "New Media" folder that gets frequent updates, as a workaround.
This led to a discovery.
1. Browse skydrive on the TV
2. Start and stop playing file
3. Go back to minidlna server on TV
4. TV refreshes media from Minidlna
Now using Raspi SSH Android app to send minidlna restart command