[Pkg-kde-extras] Bug#874675: kipi-plugins: flickr uploader: restricts video uploads to max photo size

John Goerzen jgoerzen at complete.org
Fri Sep 8 15:31:13 UTC 2017


Package: kipi-plugins
Version: 4:5.3.0-1
Severity: normal
Tags: upstream patch

Flickr has separate size limits for photos and videos.  This is using
the photo size limit (200MB right now) for all uploads, including
videos, which have a 1GB limit on Flickr.

The attached patch uses the video limit for all uploads.  This at least
avoids artificially blocking some uploads; an API error would result on
photos over 200MB, but I think this is both acceptable and incredibly
rare.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kipi-plugins depends on:
ii  digikam-private-libs  4:5.3.0-1
ii  kio                   5.28.0-2
ii  kipi-plugins-common   4:5.3.0-1
ii  libc6                 2.24-11+deb9u1
ii  libkf5archive5        5.28.0-2
ii  libkf5completion5     5.28.0-1
ii  libkf5configcore5     5.28.0-2
ii  libkf5configgui5      5.28.0-2
ii  libkf5configwidgets5  5.28.0-2
ii  libkf5coreaddons5     5.28.0-2
ii  libkf5i18n5           5.28.0-2
ii  libkf5kiocore5        5.28.0-2
ii  libkf5kiowidgets5     5.28.0-2
ii  libkf5kipi31.0.0      4:16.08.2-1
ii  libkf5windowsystem5   5.28.0-2
ii  libkf5xmlgui5         5.28.0-1
ii  libqt5core5a          5.7.1+dfsg-3+b1
ii  libqt5gui5            5.7.1+dfsg-3+b1
ii  libqt5network5        5.7.1+dfsg-3+b1
ii  libqt5printsupport5   5.7.1+dfsg-3+b1
ii  libqt5widgets5        5.7.1+dfsg-3+b1
ii  libqt5xml5            5.7.1+dfsg-3+b1
ii  libqt5xmlpatterns5    5.7.1~20161021-3
ii  libstdc++6            6.3.0-18

Versions of packages kipi-plugins recommends:
ii  enblend                          4.2-2
ii  enfuse                           4.2-2
pn  hugin                            <none>
ii  imagemagick                      8:6.9.7.4+dfsg-11+deb9u1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.7.4+dfsg-11+deb9u1
ii  konqueror                        4:16.08.3-1
pn  minidlna                         <none>

Versions of packages kipi-plugins suggests:
ii  gimp          2.8.18-1
pn  kmail         <none>
ii  vorbis-tools  1.4.0-10+b1

-- no debconf information
-------------- next part --------------
Index: digikam-5.3.0/extra/kipi-plugins/flickr/flickrtalker.cpp
===================================================================
--- digikam-5.3.0.orig/extra/kipi-plugins/flickr/flickrtalker.cpp
+++ digikam-5.3.0/extra/kipi-plugins/flickr/flickrtalker.cpp
@@ -715,7 +715,7 @@ void FlickrTalker::parseResponseMaxSize(
                 {
                     e = details.toElement();
 
-                    if (details.nodeName() == QLatin1String("photos"))
+                    if (details.nodeName() == QLatin1String("videos"))
                     {
                         QDomAttr a = e.attributeNode(QLatin1String("maxupload"));
                         m_maxSize = a.value();


More information about the pkg-kde-extras mailing list