Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#170 Video thumbnail patch

open
nobody
None
5
2012-12-31
2012-12-31
TeHashX
No

https://sourceforge.net/tracker/?func=detail&aid=3597818&group_id=243163&atid=1121518

Hi, I'm trying to apply the thumbnail patch but I get his error:

root@thx-ubuntu:/home/thx/Downloads/minidlna-1.0.25# patch -p1 < /home/thx/Downloads/thumbnail_minidlna_1.0.25.patch
patching file Makefile
Hunk #1 succeeded at 40 with fuzz 1 (offset -11 lines).
patching file albumart.c
patching file inotify.c
patching file minidlna.c
Hunk #1 succeeded at 378 (offset -2 lines).
Hunk #2 succeeded at 593 (offset -8 lines).
patching file minidlna.conf
Hunk #1 FAILED at 114.
1 out of 1 hunk FAILED -- saving rejects to file minidlna.conf.rej
patching file minidlnatypes.h
patching file options.c
patching file options.h
patching file upnpglobalvars.h
root@thx-ubuntu:/home/thx/Downloads/minidlna-1.0.25#

Please advice

Discussion

  • Eduardo Rocha
    Eduardo Rocha
    2013-01-02

    Hi, this patch is not supported by minidlna. It was a proposal but I've got no comment from the maintainer. Anyway, I´ve just uploaded the v2 that should apply normally.

     
  • TeHashX
    TeHashX
    2013-01-04

    I applied the patch v2 without error and I enabled thumbnail creation at compile time in minidlna.conf but when I ry to start minidlna I get error:

    root@thx-ubuntu:/home/thx/Downloads/minidlna-1.0.25# sudo service minidlna force-reload
    * Restarting DLNA/UPnP-AV media server minidlna
    parsing error file /etc/minidlna.conf line 70 : enable_thumbnail=yes
    parsing error file /etc/minidlna.conf line 73 : thumbnail_width=160
    parsing error file /etc/minidlna.conf line 76 : thumbnail_quality=8

     
  • Eduardo Rocha
    Eduardo Rocha
    2013-01-05

    ok, could you send me the link to the source code you are using and the commands list? I´ll try to reproduce it here.

     
  • TeHashX
    TeHashX
    2013-01-05

    Source files

     
  • TeHashX
    TeHashX
    2013-01-05

    I'm trying to start minidlna with this command:
    # sudo service minidlna force-reload

     
  • Eduardo Rocha
    Eduardo Rocha
    2013-01-08

    The errors reading the config file mean that the thumbnail support was not compiled. Please get the tar.gz file from the souce forge and send me step by step how are you compiling. Also, before you compile, make sure you have libffmpegthumbnailer installed on the environment.

     
  • TeHashX
    TeHashX
    2013-01-17

    Sorry for delay, after reinstalling ubuntu 12.10, the patch is applying perfectly and the thumbnails are created for all videos.
    Thumbnail creation should be enabled in the next minidlna version.
    THX