Hallo,
is there any chance to extract the DLNA Server package from digiKam and run as standalone on a NAS. It offers the features what I've been looking for for ages. thx stefan |
Hi, I spare a lots of time to restaure the older Upnp/DLNA support on digiKam, previously based on Hupnp library. This summer a student has rewritten the code with a Qt5 ported version of Hupnp, but i'm not satisfied by the result, especially with the server feature which take a while to be discovered (30 s), and sometime not, depending on the network configuration. So i re-study the project from scratch, and remove the student implmentation as well. I know since a lots of time some alternative to Hupnp : - MiniDlna : it create a dedicated sqlite database that we don't want and it's not available as library. I tested this server and it's not very stable with large files to share. Streaming video do not work. - Kodi : this media center has a DLNA server inside, based on Platinium framework. I use this way to implement the DLNA server in digiKam. I implemented a dedicated media server with Platinum (and Neptune) Frameworks in digiKam. Platinum provide a test code to make quickly a simple files sharing media server. It can share image, audio and video, but it's very limited, as image files are shared as well and for huge images this can break the stream with client DLNA application. For video, a stream is provided and it work properly. The digiKam implementation come with several improvements done by me : - Server detection very fast (one second). - RAW files support. The original media server only support JPEG, PNG and BMP. - Image preview to reduce data to share on the network. - Virtual album supports. We can share Tags, Labels, Rating and search albums. - Port code to compile properly under MacOS and Windows. The code taken from Kodi, even if a lots of patches is applied against original implementation taken from github repository do not compile properly outside Linux. The client DLNA applications support that i tested are : many Ipad & iPhone DLNA viewer, Sony Bravia TV, Kodi media center, XBox 360, etc... There is no Andriod device here, but i'm sure that it will work properly with many applications. After all DLNA/Upnp are well standardized. For your wish, i'm not sure that you want to do exactly. If you want only a media server to share files from FS on your NAS, the Platinum FileMediaServer test application can be enough (or miniDlna). If you want to share the DK collections through DLNA without the DK GUI, this require some important tunes in the current DK implementation to isolate the media server. It's can be done, but it will take time. Voilà... Comments are welcome... Gilles Caulier 2017-10-17 17:14 GMT+02:00 Stefan Mueller <[hidden email]>:
|
On dinsdag 17 oktober 2017 23:08:24 CEST Gilles Caulier wrote:
> Voilà... Comments are welcome... Thank you for the invitation and the unstoppable work on DK! I am really looking forward to be able to share specific tags via DLNA, as you mention. > - MiniDlna : it create a dedicated sqlite database that we don't want and > it's not available as library. I tested this server and it's not very > stable with large files to share. Streaming video do not work. I have used MiniDLNA (outside of DK) for years without noticeable problems, in combination with LG-mediaplayer, various clients on GNU/Linux and some players on Android. I do have problems viewing a slideshow using Kodi/Openelec on Raspberry Pi B2: the system crashes in need of RAM while building the directory lists or shortly after starting a slideshow. > .... > I implemented a dedicated media server with Platinum (and Neptune) > Frameworks in digiKam. > The digiKam implementation come with several improvements done by me : > ... > - Virtual album supports. We can share Tags, Labels, Rating and search > albums. > ... Great! (And an impressive list of improvements that I impolitely removed) > The client DLNA applications support that i tested are : (...) > Sony Bravia TV, (...) MiniDLNA has a switch to improve compatibility with (some?) Sony devices; maybe the implementation on the MiniDLNA-side or the Sony-side is a bit off. (If it is on the MiniDLNA-side: nothing to worry :-) ) > After all DLNA/Upnp are well standardized. I recall reading that one of the standards is about image size: at the time I read it, it was a ridiculously low resolution (but I can not quickly find a maximum at the moment) Best regards, Boudewijn |
Good morning , fantastic work Gilles, that sound great I'm looking for a DLNA server what runs on my old Synology DS211+ (ARMv5TE compliant CPU) what provides Album based on tags, time periods etc. I haven't found a server yet what can do that. A standlone DLNA Server feeded by digiKam would be ideal and enormous powerful combination. well done & thx stefan 2017-10-18 0:26 GMT+02:00 Boudewijn <[hidden email]>: On dinsdag 17 oktober 2017 23:08:24 CEST Gilles Caulier wrote: |
Bonjour Gilles, have you got any chance to continue the work on the DLNA Server? regards stefan 2017-10-18 9:09 GMT+02:00 Stefan Mueller <[hidden email]>:
|
A stand alone server exist on digiKam test implementation. This one is not dedicated to be deployed. It just an unit test. https://cgit.kde.org/digikam.git/tree/tests/mediaserver?h=development/6.0.0 This test tool share files as well. It do not use digiKam database. A similar version of this tool is included in Showfoto (look Tools menu entry to test quickly). This is exactly what you need ? Gilles Caulier 2018-02-28 11:25 GMT+01:00 Stefan Mueller <[hidden email]>:
|
could be but all what I see are 3 code files 2018-02-28 11:35 GMT+01:00 Gilles Caulier <[hidden email]>:
|
yes, all the implementation is in digiKam core. But the result is the same... Gilles Caulier 2018-02-28 11:43 GMT+01:00 Stefan Mueller <[hidden email]>:
|
In reply to this post by PackElend
On mercredi 28 février 2018 11:43:50 CET Stefan Mueller wrote:
> could be but all what I see are 3 code files > Did you notice this snippet from Gilles' post: " This test tool share files as well. It do not use digiKam database. A similar version of this tool is included in Showfoto (look Tools menu entry to test quickly)." You might have to install showphoto, afaik the appimage bundles do NOT contain it. The files you see form a *test* implementation for that DNLA server, and depend on the digikam source code. To use them, you will have to have that source code installed and compile the test files (perhaps with a cross compiler if you want to run them on an ARM device). Remco |
2018-02-28 12:27 GMT+01:00 Remco Viëtor <[hidden email]>: On mercredi 28 février 2018 11:43:50 CET Stefan Mueller wrote: It's false so far. The AppImage _CONTAINS_ Showfoto. There is just an option to run it from CLI instead digiKam. Just read well the README here : Gilles Caulier |
I'm sorry I can't really follow you. How can I run the DNLA server? How to set the files what shall be available by the server? 2018-02-28 12:39 GMT+01:00 Gilles Caulier <[hidden email]>:
|
The server is a CLI tool with one option to pass file paths. It's simple to test. Gilles Caulier 2018-02-28 12:46 GMT+01:00 Stefan Mueller <[hidden email]>:
|
but it runs only on linux doesn't it? 2018-02-28 12:50 GMT+01:00 Gilles Caulier <[hidden email]>:
|
sorry my mistake, found it. It is C++ code what need to compiled 2018-02-28 12:52 GMT+01:00 Stefan Mueller <[hidden email]>:
|
In reply to this post by Gilles Caulier-4
On mercredi 28 février 2018 12:39:10 CET Gilles Caulier wrote:
> 2018-02-28 12:27 GMT+01:00 Remco Viëtor <[hidden email]>: > > On mercredi 28 février 2018 11:43:50 CET Stefan Mueller wrote: > > > could be but all what I see are 3 code files > > > > Did you notice this snippet from Gilles' post: > > " This test tool share files as well. It do not use digiKam database. A > > similar version of this tool is included in Showfoto (look Tools menu > > entry to test quickly)." > > > > You might have to install showphoto, afaik the appimage bundles do NOT > > contain > > it. > > It's false so far. The AppImage _CONTAINS_ Showfoto. There is just an > option to run it from CLI instead digiKam. Just read well the README here : > > https://files.kde.org/digikam/README.md > > Gilles Caulier Ok, my mistake. But: how would I find that README.md if I start from the main Digikam page and try and get the Appimage for 64-bits linux? Even the "see all downloads" options does NOT show that particular file. (And not everyone is interested in pre-release bundles) |
Try to run the appimage bundle from the CLI with --help option. Also, you are right, this README must also hosted somewhere in website download page... Gilles Caulier 2018-02-28 15:32 GMT+01:00 Remco Viëtor <[hidden email]>:
|
Free forum by Nabble | Edit this page |