<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>404900</bug_id>
          
          <creation_ts>2019-02-28 10:29:56 +0000</creation_ts>
          <short_desc>exporting video, photo to google photo fails</short_desc>
          <delta_ts>2022-11-24 16:51:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Plugin-WebService-Google</component>
          <version>6.2.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Philippe ROUBACH">philippe.roubach</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>davidis.dirk</cc>
    
    <cc>metzpinguin</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.9.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1840938</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe ROUBACH">philippe.roubach</who>
    <bug_when>2019-02-28 10:29:56 +0000</bug_when>
    <thetext>SUMMARY

exporting video to google photo fails

STEPS TO REPRODUCE
1. try to export to google photo a video to an an existing album
2. after a delay you get an error message
3. 

OBSERVED RESULT

Error transferring https://photoslibrary.googleapis.com/v1/mediaItems:batchCreate - server replied: Bad Request

and

video is not added to google photo

EXPECTED RESULT

video is added in the google photo album

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840943</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe ROUBACH">philippe.roubach</who>
    <bug_when>2019-02-28 10:41:03 +0000</bug_when>
    <thetext>exporting a photo fails also with same error message

Error transferring https://photoslibrary.googleapis.com/v1/mediaItems:batchCreate - server replied: Bad Request</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840946</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe ROUBACH">philippe.roubach</who>
    <bug_when>2019-02-28 10:49:51 +0000</bug_when>
    <thetext>if i create a new album then no problem to export a photo or a video</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840976</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe ROUBACH">philippe.roubach</who>
    <bug_when>2019-02-28 12:32:32 +0000</bug_when>
    <thetext>no problem exporting photo, video to google drive</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840979</commentid>
    <comment_count>4</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-02-28 12:41:23 +0000</bug_when>
    <thetext>I think Gdrive is more generic that GPhoto, and it can host all kind of files.

I&apos;m not sure if Gphoto can really, or can always host video as well. After all Google as YouTube for that (and supporting YouTube web-service is another story). Google service fetaures change in time...

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840988</commentid>
    <comment_count>5</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2019-02-28 12:54:43 +0000</bug_when>
    <thetext>This is a bug in the Google Photo API. We can not write in existing albums. You will see a locked folder icon in the album list.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840990</commentid>
    <comment_count>6</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2019-02-28 12:58:01 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 400187 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840994</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe ROUBACH">philippe.roubach</who>
    <bug_when>2019-02-28 13:12:25 +0000</bug_when>
    <thetext>(In reply to caulier.gilles from comment #4)

&gt; I&apos;m not sure if Gphoto can really, or can always host video as well. 

yes today if you use G photo import tool you can still import video.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871233</commentid>
    <comment_count>8</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-07-27 11:51:16 +0000</bug_when>
    <thetext>Please test with 6.2.0 pre-release bundles available here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871275</commentid>
    <comment_count>9</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-07-27 13:14:52 +0000</bug_when>
    <thetext>Please test with 6.2.0 pre-release bundles available here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871481</commentid>
    <comment_count>10</comment_count>
    <who name="Philippe ROUBACH">philippe.roubach</who>
    <bug_when>2019-07-28 09:06:12 +0000</bug_when>
    <thetext>problem still there.

it seems the google photo api bug is still there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871554</commentid>
    <comment_count>11</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2019-07-28 16:41:52 +0000</bug_when>
    <thetext>Uploading videos works without problem. Just not to old existing albums and so it is a duplicate of Bug 400187.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871923</commentid>
    <comment_count>12</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2019-07-30 06:45:09 +0000</bug_when>
    <thetext>*** Bug 410077 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177001</commentid>
    <comment_count>13</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2022-11-24 16:51:17 +0000</bug_when>
    <thetext>Fixed with #400187</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>