nmaier / simpledlna Goto Github PK
View Code? Open in Web Editor NEWA simple, zero-config DLNA media server, that you can just fire up and be done with it.
Home Page: http://nmaier.github.io/simpleDLNA/
License: BSD 2-Clause "Simplified" License
A simple, zero-config DLNA media server, that you can just fire up and be done with it.
Home Page: http://nmaier.github.io/simpleDLNA/
License: BSD 2-Clause "Simplified" License
Hi there,
I just wanted to say how great this product is and I'm more than happy to support you with a contribution for fixing this issue (wheres the paypal button)
I'm running a windows 8.1 laptop on 1GB ethernet.
It's been working great for a while now, I stream with VLC app and cast to google chrome cast.. Sometimes I stream with the PS3 or just watch on the IPAD. It works well.
The issue when streaming is the server only shows 20 titles or folders. not the usual 100 + titles.
When viewing the library via the web browser all the titles are displayed?
I only have 2 or 3 servers running and not all at the same time.
The embarrassing home video isn't turned on or the house mates will laugh
I tried the un-install re-install, delete the app data folder. uninstall .net framework reinstall.
Tried it on a clean windows 7 PC,
Can you help please see attached logs
Have noticed some errors with sqllite *and data base
sdlna.log
I'm not sure this is really a bug or a feature but SimpleDLNA v1.0 tries to generate thumbnails for Windows .wmv files every time it starts. This causes a lot of extraneous processing and a number of warnings in the log. I guess it should record that it has already tried to make a thumb and then simply serve a default (blank?) thumb for such unsupported files.
Hi, has anyone successfully used simpleDLNA on a data-deduplicated folder?
Currently a FileServer will reload whenever it gets notified of a file system change. Optimally the notifications should be filtered to only reload the server when a file with a tracked file extension changes.
Hi,
First of all thanks for implementing this, it seems to be exactly what I was looking for :-)
It works great when I run it on a small directory, however when I start it on a large one (~500 files/directories at 1st level of depth), it takes a very long time to start. Inspection with strace shows that it's scanning everything recursively. Why is it needed? Can it be disabled?
Certainly not what I understood when I read "just fire up in some directory, watch some files on my TV and then be done with it" ;-)
Hello, congratulations for your fantastic software, easy to use and light-weight, the best DLNA Server in my opinion. Also, although you seem to regret it, it is in my opinion an advantage that it doesn't support transcoding because recent devices have no problem reading various formats (including x265) without transcoding.
But I have a suggestion : Could you add an option to load SimpleDLNA on Windows startup ? (I know I can put it in the "startup folder but it would be better to enable/disable it in the options).
I have also a question : Why when I go to the Settings, SimpleDLNA indicates "0" as the port number ?
Thanks.
Cedric.
This application looks to use video/x-mkv as the mime-type header for .mkv files, but some devices seem to rely on video/x-matroska.
Also tried to download the source to try to fix it myself, but the solution relies on having the SQLite interop dll's for the Util project. Not sure where to get them (tried the obvious official site, but they didn't give me the actual interop dll's.)
Hello,
Love the program its clean and simple but i found that nono303 have updated it last year (14 Months ago) so...
Can someone build nono303/simpleDLNA 1.0.3 with the simpledlna.exe gui?
It has a build with only the cmd exe.
Hello
Thanks
Love it. However:
Portable mode is not truly complete/working on Windows. Downloading the 7-zip payload and running SimpleDLNA.exe leaves behind application settings in the registry. Proof: If I set options, close the server, re-extract the 7-zip, completely replace the old files, and re-launch the server, my previous options/settings are still there (e.g., pre-set folders to scan for media). This means the 7-zip download option does not meet the usual expectation that it will behave "portable" (meaning: will only ever store user config data inside the application folder).
Is there an instruction for how to change the default behavior and store all settings in application folder instead of registry? Then it would be true to claim, "portable". Thank you.
I have multiple net cards on my PC and simpleDLNA keeps listening on the wrong interface. It would be nice for an option to force the listen on a certain interface.
Openwrt support system?
Is it possible to load subtitles?
Hello, i've installed simpleDLNA 1.0 and it's been working like a charm. The only thing that seems strange is that there are many duplicates of this DLNA Server in windows -> settings -> bluetooth and other devices -> other devices.
Is there a way to disable such behavior? In program or in windows itself.
The cache value tag in the config files of the msi and zip versions is incorrect.
<value /> should be </value>
where download windows gui newest version? no found SimpleDLNA.exe file in new version.
When using WMP on Windows 7, I can browse my extensive list of music, but the list constantly jumps everywhere (even though the music is there and plays).
In WMC, the index takes an excessive amount of time to generate, and only does so parts at a time.
As a test, I used the ml_dlna plugin for Winamp which instantly showed the entire library of music correctly.
The .Net stdlib currently limits what "signals" (not really signals on Windows) can be observed. CTRL+C/BREAK can be observed, but not end session and/or console close.
Implement a full handler that exits sdlna gracefully.
A great big thumbs up for this after months of fiddling with 'competitors'.
SDLNA wins hands down on serving from Windows 10x64. Connects immediately, and without any problems, to VLC 3.0.6 on Windows 10 and the latest VLC on iPadOS.
Did I say fantastic already?
This is less of an 'issue' more a question, but I'm having trouble deciphering how to use the SOAP endpoint.
What I'd like is to be able to make a request to get a list of videos with their streaming endpoint, is this currently possible, if so, how?
Many thanks
Windows 7 x64
2xSony Bravia 32W705
All devices have Static IP
simpleDLNA 1.0
i make 2 server for 2 movie folder (.mkv files)
Browsing on TV by DLNA - OK
Playing on TV by DLNA - OK
But each time i start/stop (or reboot PC) server`s.. Sony TV doubles tabs (tab = 1 server) on media player on both of my TVs
if i do this 5 times it show 10 servers.. 8 - greyed (not available) and 2 worked
8( each time i need go to settings and delete all servers
p.s. Sorry for previous post.. its my mistake
in namespace NMaier.SimpleDlna.Options
there is an Attribute :Argument
[Argument("type", HelpText = "Types to serv (IMAGE, VIDEO, AUDIO; default: all)")]
so the Construction method for Argument just has one parameter .
what should i do to launch the project?
Hi, first of all, congratulations. I am very impressed about simpleDLNA, I really really appreciate the "Run the .exe file, and it works, zero configuration needed". It worked immediately in a few seconds!
I use it this way:
[laptop PC] -----------> [home router] ----------> [TV decoder] -----> [TV]
(avi file) (high speed (ethernet cable) (peritel)
wifi)
Only little problem (not sure if it is linked to simpleDLNA) : the audio has a few "stuttering effects" every 5 / 10 seconds.
Qustion : Is there a way to have a higher buffer size ? i.e. the TV decoder will wait / will buffer longer before playing ? Any other idea to reduce audio stuttering ?
first of all, thanks for this project. very helpful.
now, I'm not sure if playlist/m3u support is a standard DLNA feature, e.g. MediaTomb does support them. if it is - and if it's not too hard, like just adding a file extension to the code - is there any chance you could implement it?
the desired scenario is to use internet radio via DLNA (shoutcast url in m3u)
thanks for your time
I've been using it on the vlc player and I noticed that it doesn't load (or send, I don't know exactly how it works) local subtitles for vlc (probably other devices), just the embedded ones, so if this feature is added I think it will be the best DLNA server. I am amazed how it behaves using almost anything ram and cpu.
I am trying to open the media server over the WAN. I set a static port for SDLNA and port forwarding to the SDLNA instance. I can browse to the index page and see the listing of any running media server(s).
I can also view /mm-1/index/0 or stream the associated .avc file from the WAN browser by entering the specific URL.
The problem I have is when clicking on any of the enumerated media server URLs, the link /mm-1/ fails because the HttpServer is redirecting to the server's local ip 192.168.0.6.
Is there any way to fix this? Thanks in advance. I really enjoy using your Simple DLNA server!
I get errors like failed to load thumb and System.TypeInitializationException: The type initiliazier for 'NMaier.SimpleDlna.Thumbnails.ThumbnailMaker' threw an exception.
I am on Windows 10 and have the last SimpleDLNA.
The MSI appears to fail installing on Windows 8 with default settings. Error message is "Error 1001. The specified registry key does not exist."
Log can be seen at https://gist.github.com/njlg/b2a12aa4b9e43a180753
Hi, FOA thanks for this app, it was exactly what I needed to quickly share a folder of media material.
While downloading from http://nmaier.github.io/simpleDLNA/ I noticed the version 1.0 served is from 2014 but this project shows there were a lot of recent commits since then. Is there any more recent / beta / nightly build to download somewhere? (I have no dev env for Windows set up)
Thx in advance!
Downloaded SDLNA source.
Opened project sdlna.sln
Got errors about ...\setup\setup.vdproj
See attached messages:
vs17 messages.zip
I don't understand this. Sometimes when you start SimpleDLNA, it appears in Windows Media Player (under "Other Libraries"), but most of the time it does not. I don't seem to be able to recreate the case that it is visible reliably. Is there some point where SimpleDLNA is not ready (at the beginning) and then becomes ready after having scanned the media library or something? I use a cache file whose name is explicitly given to sdlna.exe.
On a similar note, SimpleDLNA 1.0 worked flawlessly for me the other day, when I had a lot of other DLNA servers installed (Kodi, Serviio, Plex) but after I removed these, my Sony Bravia TV can't see it anymore. I suspect the issue is something with the firewall, but I can't confirm this. If I disable the firewall, which should solve all firewall issues, my TV still can't see SimpleDLNA. I had everything working and decided to switch to SimpleDLNA but now nothing works anymore.
I am using simpleDLNA for podcasts and have the server set to sort by file date descending. It sorts the files exactly how I want them, but a side effect is that it also sorts the higher level folders according to their contents. What I would like is to be able to sort the folders alphabetically, but have the files within the folders sorted by date. Would that be possible? Thank you!
From a few weeks, I'm not able to open the GUI on my Windows workstation... had been using it pretty much daily for last one year or so.
Testing it on Window 10 21H2 Build 19044, not sure if some Windows update killed it or some dependencies changed.
Any ways to debug this further and fix it?
Right now, it takes at least a minute to announce. Other devices that are media servers announce more frequently than that. This means it takes too long for clients like VLC player to even see the server. Try making it announce once every 10 to 15 seconds, or include a command line option for this. It seems like other devices on my network announce about every 10 to 15 seconds.
In a system with multiple network interfaces it would be nice to have the option to chose wich one to use (ip setting of the server)
sdlna.exe "some path with spaces\"
doesn't work unlike
sdlna.exe "some path with spaces"
or
sdlna.exe some_path_without_spaces\
Hi, several seconds after creating and starting a server windows system completely freezes (one time it was BSOD). There a lot of same errors before it freezes.
I have VirtualBox and VMware virtual network cards.
Here is a screenshot, I managed to kill it before a crash, it is not possible to stop it regularly.
I can't figure out the syntax
Not so much an issue as an observation and a question.
Found SimpleDLNA yesterday. Installed just now. Looks like all the movies from all USB drives are being lumped together. I use a directory naming system to organize my videos, Each drive has the same seven or eight directory names and they show up on the server. I can't tell which drive the directories belong to.
Is the a way to associate the directories with their drives?
Other DLNA servers on the network are seen, but SimpleDLNA isn't found
Great project by the way!
When I start a server with SimpleDLNA.exe I see a bunch of reoccuring errors in the log. Everything appears to work fine though and I can still browse the folders from my DLNA client. I am not sure if the port binding error is causing some other problem, but I thought I would at least report it.
2013-12-23 10:31:24,261 DEBUG [ 1] HttpServer - Registered Handler for /icon/
2013-12-23 10:31:24,305 INFO [ 1] HttpServer - Running HTTP Server: WIN64/6.2 UPnP/1.0 DLNADOC/1.5 sdlna/0.13 on port 53015
2013-12-23 10:31:24,313 INFO [ 1] SsdpHandler - SSDP service started
2013-12-23 10:31:41,197 INFO [ 6] FileStore - FileStore at C:\Users\Nathan\AppData\Local\Temp\sdlna.cache is ready
2013-12-23 10:31:41,397 DEBUG [ 10] Thumbnailer - thumber started
2013-12-23 10:31:41,406 DEBUG [ 6] HttpServer - Registered Handler for /mm-1/
2013-12-23 10:31:41,439 DEBUG [ 6] SsdpHandler - NotifyAll
2013-12-23 10:31:41,444 DEBUG [ 6] SsdpHandler - NotifyDevice
2013-12-23 10:31:41,471 ERROR [ 6] Datagram - System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in its context
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at NMaier.SimpleDlna.Server.Ssdp.Datagram.Send()
2013-12-23 10:31:41,473 ERROR [ 6] Datagram - System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in its context
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at NMaier.SimpleDlna.Server.Ssdp.Datagram.Send()
2013-12-23 10:31:41,474 ERROR [ 6] Datagram - System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in its context
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at NMaier.SimpleDlna.Server.Ssdp.Datagram.Send()
Please add support to sony bravia TV.
The server is running fine, but the TV does not recognize
The TV on Media Server Diagnostic display the server
but status shows "Not Satisfactory"
IP: Information not available
TCP Port: -1
My network is ok, because i have the WMP Server running and works
PC Network IP: 192.168.0.13
TV Network IP: 192.168.0.11
Port on SimpleDLNA: 48181
Is there a way to specify how many days old a file has to be to be not considered 'NEW'? I see in the code that the default is 7, can that be manually overridden?
private DateTime minDate = DateTime.Now.AddDays(-7.0);
Absolute date would be nice (e.g. exclude older than 2020-01-01) but that's easy enough to calculate with an external script, so probably unnecessary for SDLNA. Just need a way to set the number of days.
So if -v doesn't seem to accept any sort of second parameter, how exactly is e.g. 'FILTER' used? No syntax that I've tried has worked
sdlna -v filter *.mp4 folder
sdlna -v dimension=200x200 folder
(which is what lead me to believe I was missing something for 'NEW').
Thanks!
When using HTC One M9 phone to play MP3 files from server, constantly get HttpClient messages in log.
Extract of some of these messages are:
2016-01-10 13:09:23,537 INFO [ 7] HttpClient - 192.168.10.11:39376 - 500 response for /mm-1/cover/3E9EDA83/i.jpg
2016-01-10 13:09:23,662 INFO [ 12] MediaMount - Serving cover 3E9EDA83
2016-01-10 13:09:23,662 WARN [ 12] HttpClient - 192.168.10.11:48154 - Failed to process response
System.NullReferenceException: Object reference not set to an instance of an object.
at NMaier.SimpleDlna.Server.ItemResponse..ctor(String prefix, IRequest request, IMediaResource item, String transferMode)
at NMaier.SimpleDlna.Server.MediaMount.HandleRequest(IRequest request)
at NMaier.SimpleDlna.Server.HttpClient.SetupResponse()
2016-01-10 13:09:23,662 INFO [ 12] HttpClient - 192.168.10.11:48154 - 500 response for /mm-1/cover/3E9EDA83/i.jpg
2016-01-10 13:09:23,662 INFO [ 11] MediaMount - Serving cover 35FFBAD3
2016-01-10 13:09:23,662 WARN [ 11] HttpClient - 192.168.10.11:60287 - Failed to process response
System.NullReferenceException: Object reference not set to an instance of an object.
at NMaier.SimpleDlna.Server.ItemResponse..ctor(String prefix, IRequest request, IMediaResource item, String transferMode)
at NMaier.SimpleDlna.Server.MediaMount.HandleRequest(IRequest request)
at NMaier.SimpleDlna.Server.HttpClient.SetupResponse()
2016-01-10 13:09:23,662 INFO [ 11] HttpClient - 192.168.10.11:60287 - 500 response for /mm-1/cover/35FFBAD3/i.jpg
2016-01-10 13:09:23,662 INFO [ 13] MediaMount - Serving cover 14724884
2016-01-10 13:09:23,662 WARN [ 13] HttpClient - 192.168.10.11:59837 - Failed to process response
System.NullReferenceException: Object reference not set to an instance of an object.
at NMaier.SimpleDlna.Server.ItemResponse..ctor(String prefix, IRequest request, IMediaResource item, String transferMode)
at NMaier.SimpleDlna.Server.MediaMount.HandleRequest(IRequest request)
at NMaier.SimpleDlna.Server.HttpClient.SetupResponse()
2016-01-10 13:09:23,662 INFO [ 13] HttpClient - 192.168.10.11:59837 - 500 response for /mm-1/cover/14724884/i.jpg
2016-01-10 13:09:24,239 INFO [ 8] MediaMount - Serving cover 0F9C1133
2016-01-10 13:09:24,239 WARN [ 8] HttpClient
I just discovered simpleDLNA and was delighted to find that it can show Video and Image files in the same folder together - something that is not available with Serviio (which shows them in separate categories).
However, I could not figure out any way to resume video playback from the time it had last been stopped. Both Plex and Serviio support such resuming. Since I have to frequently switch from TV playback to DLNA playback, such resuming is absolutely essential for users like me. Fast forwarding to last played position each time for long video files takes up too much time and is not an option.
Can this resume playback feature be made available in simpleDLNA please?
While streaming, prevent the system from going into full sleep mode.
Streaming in this context might mean a couple of things, tho:
Platforms
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.