Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vido for openSUSE:Factory checked in 
at 2021-11-05 22:58:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vido (Old)
 and      /work/SRC/openSUSE:Factory/.vido.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vido"

Fri Nov  5 22:58:50 2021 rev:4 rq:929666 version:2.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/vido/vido.changes        2019-12-09 
21:38:06.830029855 +0100
+++ /work/SRC/openSUSE:Factory/.vido.new.1890/vido.changes      2021-11-05 
22:59:13.520304687 +0100
@@ -1,0 +2,22 @@
+Fri Nov  5 13:02:22 UTC 2021 - Alexei Podvalsky <avvi...@yandex.by>
+
+- Update to 2.1.0:
+  * Add new screenshots
+  * Delete VIDO-normal.png
+  * Delete VIDO-ready.png
+  * Update README.md
+  * Gitignore .flatpak-builder dir (#63)
+  * Fix appdata parse error (#62)
+  * Move Flatpak manifest to the source root (#61)
+  * Add Flatpak support
+  * Add stripe key #60
+  * Fix POTFILES (#52)
+  * Add a clear icon only when there are some text(s) in the
+    entry (#51)
+  * Set Node.js version to 10.17.0 to fix CI (#58)
+  * Fix thick titlebar on GTK 3.22 or later (#50)
+  * Use symbolic icon for 'edit-clear' icon (#49)
+  * Save state and improve UI (#48)
+  * Show download error details (#47)
+
+-------------------------------------------------------------------

Old:
----
  vido-1.3.1.tar.gz

New:
----
  vido-2.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vido.spec ++++++
--- /var/tmp/diff_new_pack.WODmG8/_old  2021-11-05 22:59:13.896304937 +0100
+++ /var/tmp/diff_new_pack.WODmG8/_new  2021-11-05 22:59:13.896304937 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           vido
-Version:        1.3.1
+Version:        2.1.0
 Release:        0
 Summary:        Online Video Downloader
 License:        GPL-3.0-or-later
@@ -77,6 +77,7 @@
 %{_datadir}/applications/com.github.bernardodsanderson.vido.desktop
 %{_datadir}/icons/hicolor/*/apps/com.github.bernardodsanderson.vido.??g
 %{_datadir}/metainfo/com.github.bernardodsanderson.vido.appdata.xml
+%{_datadir}/glib-2.0/schemas/com.github.bernardodsanderson.vido.gschema.xml
 
 %files lang -f %{name}.lang
 

++++++ vido-1.3.1.tar.gz -> vido-2.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/.gitignore new/vido-2.1.0/.gitignore
--- old/vido-1.3.1/.gitignore   2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/.gitignore   2021-10-10 16:53:19.000000000 +0200
@@ -1 +1,2 @@
+.flatpak-builder
 build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/.travis.yml new/vido-2.1.0/.travis.yml
--- old/vido-1.3.1/.travis.yml  2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/.travis.yml  2021-10-10 16:53:19.000000000 +0200
@@ -3,7 +3,7 @@
 language: node_js
 
 node_js:
-  - 10/*
+  - 10.17.0
 
 sudo: required
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/README.md new/vido-2.1.0/README.md
--- old/vido-1.3.1/README.md    2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/README.md    2021-10-10 16:53:19.000000000 +0200
@@ -7,7 +7,8 @@
   <a 
href="https://appcenter.elementary.io/com.github.bernardodsanderson.vido";><img 
src="https://appcenter.elementary.io/badge.svg"; alt="Get it on AppCenter" /></a>
 </p>
 
-![Screenshot](https://raw.githubusercontent.com/bernardodsanderson/vido/master/data/images/VIDO-normal.png)
+![vido](https://user-images.githubusercontent.com/5623786/136678627-ab7d7875-f721-4ef8-a086-6563d95aacb8.png)
+
 
 ## Dependencies
 
@@ -21,10 +22,4 @@
 ```
 To build locally:
 
-`meson build --prefix=/usr`
-
-`cd build`
-
-`ninja`
-
-`sudo ninja install`
\ No newline at end of file
+`flatpak-builder build  com.github.bernardodsanderson.vido.yml --user 
--install --force-clean`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/com.github.bernardodsanderson.vido.yml 
new/vido-2.1.0/com.github.bernardodsanderson.vido.yml
--- old/vido-1.3.1/com.github.bernardodsanderson.vido.yml       1970-01-01 
01:00:00.000000000 +0100
+++ new/vido-2.1.0/com.github.bernardodsanderson.vido.yml       2021-10-10 
16:53:19.000000000 +0200
@@ -0,0 +1,29 @@
+app-id: com.github.bernardodsanderson.vido
+runtime: io.elementary.Platform
+runtime-version: '6'
+sdk: io.elementary.Sdk
+command: com.github.bernardodsanderson.vido
+finish-args:
+  - '--share=ipc'
+  - '--socket=fallback-x11'
+  - '--socket=wayland'
+  # For downloading videos
+  - '--share=network'
+  # For saving location
+  - '--filesystem=home'
+modules:
+  - name: vido
+    buildsystem: meson
+    sources:
+      - type: dir
+        path: .
+  - name: youtube-dl
+    buildsystem: simple
+    build-options:
+      build-args:
+        # For downloading youtube-dl itself
+        - '--share=network'
+    build-commands:
+      - curl -vL https://yt-dl.org/downloads/latest/youtube-dl -o 
$FLATPAK_DEST/bin/youtube-dl
+      - chmod a+rx $FLATPAK_DEST/bin/youtube-dl
+      - alias youtube-dl=\'$FLATPAK_DEST/bin/youtube-dl\'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vido-1.3.1/data/com.github.bernardodsanderson.vido.appdata.xml.in 
new/vido-2.1.0/data/com.github.bernardodsanderson.vido.appdata.xml.in
--- old/vido-1.3.1/data/com.github.bernardodsanderson.vido.appdata.xml.in       
2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/data/com.github.bernardodsanderson.vido.appdata.xml.in       
2021-10-10 16:53:19.000000000 +0200
@@ -9,56 +9,93 @@
   <description>
     <p>Download online videos from various sources including archive.org and 
much more!</p>
   </description>
+
+  <content_rating type="oars-1.1">
+    <content_attribute id="violence-cartoon">none</content_attribute>
+    <content_attribute id="violence-fantasy">none</content_attribute>
+    <content_attribute id="violence-realistic">none</content_attribute>
+    <content_attribute id="violence-bloodshed">none</content_attribute>
+    <content_attribute id="violence-sexual">none</content_attribute>
+    <content_attribute id="violence-desecration">none</content_attribute>
+    <content_attribute id="violence-slavery">none</content_attribute>
+    <content_attribute id="violence-worship">none</content_attribute>
+    <content_attribute id="drugs-alcohol">none</content_attribute>
+    <content_attribute id="drugs-narcotics">none</content_attribute>
+    <content_attribute id="drugs-tobacco">none</content_attribute>
+    <content_attribute id="sex-nudity">none</content_attribute>
+    <content_attribute id="sex-themes">none</content_attribute>
+    <content_attribute id="sex-homosexuality">none</content_attribute>
+    <content_attribute id="sex-prostitution">none</content_attribute>
+    <content_attribute id="sex-adultery">none</content_attribute>
+    <content_attribute id="sex-appearance">none</content_attribute>
+    <content_attribute id="language-profanity">none</content_attribute>
+    <content_attribute id="language-humor">none</content_attribute>
+    <content_attribute id="language-discrimination">none</content_attribute>
+    <content_attribute id="social-chat">none</content_attribute>
+    <content_attribute id="social-info">none</content_attribute>
+    <content_attribute id="social-audio">none</content_attribute>
+    <content_attribute id="social-location">none</content_attribute>
+    <content_attribute id="social-contacts">none</content_attribute>
+    <content_attribute id="money-purchasing">none</content_attribute>
+    <content_attribute id="money-gambling">none</content_attribute>
+  </content_rating>
+
   ???<releases>
+    <release version="2.0.0" date="2021-09-26" urgency="high">
+      <description>
+        <p>Updated for elementary OS 6</p>
+      </description>
+    </release>
     <release version="1.3.1" date="2019-12-04" urgency="low">
-  ???    <description>
+      <description>
         <p>Spanish Translation (thanks riesp)</p>
         <p>Travis CI integration (thanks meisenzahl)</p>
       </description>
-  ???  </release>
+    </release>
     <release version="1.3.0" date="2019-06-23" urgency="low">
-  ???    <description>
+      <description>
         <p>App refactoring (thanks ryonakano)</p>
       </description>
-  ???  </release>
+    </release>
     <release version="1.2.8" date="2019-06-05" urgency="low">
-  ???    <description>
+      <description>
         <p>Translation Updates</p>
         <p>Add Lithuanian translation (thanks welaq)</p>
         <p>Fix sensitivity of download_button (thanks ryonakano)</p>
         <p>Update French translation (thanks NathanBnm)</p>
         <p>Remove unneeded files (thanks ryonakano)</p>
       </description>
-  ???  </release>
+    </release>
     <release version="1.2.7" date="2019-03-01" urgency="low">
-  ???    <description>
+      <description>
         <p>Update app category</p>
         <p>Fix window getting too big due to error messages (thank you 
ryonakano)</p>
       </description>
-  ???  </release>
+    </release>
     <release version="1.2.4" date="2019-02-16" urgency="low">
-  ???    <description>
+      <description>
         <p>Add Russian translation (thank you camellan)</p>
         <p>Add French translation (thank you NathanBnm)</p>
         <p>Make 'Get Video Info' button will be disabled if there's no url 
(thank you ryonakano) </p>
       </description>
-  ???  </release>
+    </release>
     <release version="1.2.3" date="2019-02-11" urgency="low">
-  ???    <description>
+      <description>
         <p>Make App Translatable</p>
         <p>Add License</p>
       </description>
-  ???  </release>
-  ???  <release version="1.2.2" date="2019-01-10" urgency="medium">
-  ???    <description>
+    </release>
+    <release version="1.2.2" date="2019-01-10" urgency="medium">
+      <description>
         <p>Fix audio download issues</p>
       </description>
-  ???  </release>
-  ???</releases>
+    </release>
+  </releases>
   <custom>
-     <value key="x-appcenter-color-primary">#F2C94C</value>
-     <value key="x-appcenter-color-primary-text">#333</value>
-     <value key="x-appcenter-suggested-price">1</value>
+    <value key="x-appcenter-color-primary">#F2C94C</value>
+    <value key="x-appcenter-color-primary-text">#333</value>
+    <value key="x-appcenter-suggested-price">1</value>
+    <value key="x-appcenter-stripe">pk_live_STtcXII2pdHg9Yas7q6olWZl</value>
   </custom>
   <provides>
     <binary>com.github.bernardodsanderson.vido</binary>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vido-1.3.1/data/com.github.bernardodsanderson.vido.gschema.xml 
new/vido-2.1.0/data/com.github.bernardodsanderson.vido.gschema.xml
--- old/vido-1.3.1/data/com.github.bernardodsanderson.vido.gschema.xml  
1970-01-01 01:00:00.000000000 +0100
+++ new/vido-2.1.0/data/com.github.bernardodsanderson.vido.gschema.xml  
2021-10-10 16:53:19.000000000 +0200
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist>
+  <schema path="/com/github/bernardodsanderson/vido/" 
id="com.github.bernardodsanderson.vido">
+    <key name="audio-only" type="b">
+      <default>false</default>
+      <summary>Download only audio</summary>
+    </key>
+    <key name="with-subtitles" type="b">
+      <default>false</default>
+      <summary>Download with subtitles</summary>
+    </key>
+    <key name="destination" type="s">
+      <default>''</default>
+      <summary>Default destination</summary>
+    </key>
+    <key name="window-position" type="(ii)">
+      <default>(-1, -1)</default>
+      <summary>Window position</summary>
+      <description>Position of last closed window</description>
+    </key>
+  </schema>
+</schemalist>
Binary files old/vido-1.3.1/data/images/VIDO-normal.png and 
new/vido-2.1.0/data/images/VIDO-normal.png differ
Binary files old/vido-1.3.1/data/images/VIDO-ready.png and 
new/vido-2.1.0/data/images/VIDO-ready.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/meson/post_install.py 
new/vido-2.1.0/meson/post_install.py
--- old/vido-1.3.1/meson/post_install.py        1970-01-01 01:00:00.000000000 
+0100
+++ new/vido-2.1.0/meson/post_install.py        2021-10-10 16:53:19.000000000 
+0200
@@ -0,0 +1,14 @@
+#!/usr/bin/env python3
+
+import os
+import subprocess
+
+schema_dir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 
'glib-2.0', 'schemas')
+icon_cache_dir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 
'icons', 'hicolor')
+
+if not os.environ.get('DESTDIR'):
+    print('Compiling gsettings schemas???')
+    subprocess.call(['glib-compile-schemas', schema_dir])
+
+    print('Updating desktop icon cache???')
+    subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/meson.build new/vido-2.1.0/meson.build
--- old/vido-1.3.1/meson.build  2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/meson.build  2021-10-10 16:53:19.000000000 +0200
@@ -51,6 +51,11 @@
     install_dir: join_paths(get_option('datadir'), 'metainfo')
 )
 
+install_data(
+    join_paths('data', meson.project_name() + '.gschema.xml'),
+    install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
+)
+
 #Install icons
 icon_sizes = ['128', '64', '48', '32', '24', '16']
 
@@ -66,3 +71,5 @@
 endforeach
 
 subdir('po')
+
+meson.add_install_script('meson/post_install.py')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/po/LINGUAS new/vido-2.1.0/po/LINGUAS
--- old/vido-1.3.1/po/LINGUAS   2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/po/LINGUAS   2021-10-10 16:53:19.000000000 +0200
@@ -3,3 +3,5 @@
 lt
 ru
 es
+ja
+id
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/po/POTFILES new/vido-2.1.0/po/POTFILES
--- old/vido-1.3.1/po/POTFILES  2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/po/POTFILES  2021-10-10 16:53:19.000000000 +0200
@@ -1 +1 @@
-src/vido.vala
+src/MainWindow.vala
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/po/extra/LINGUAS 
new/vido-2.1.0/po/extra/LINGUAS
--- old/vido-1.3.1/po/extra/LINGUAS     2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/po/extra/LINGUAS     2021-10-10 16:53:19.000000000 +0200
@@ -3,3 +3,5 @@
 lt
 ru
 es
+ja
+id
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/po/extra/id.po 
new/vido-2.1.0/po/extra/id.po
--- old/vido-1.3.1/po/extra/id.po       1970-01-01 01:00:00.000000000 +0100
+++ new/vido-2.1.0/po/extra/id.po       2021-10-10 16:53:19.000000000 +0200
@@ -0,0 +1,68 @@
+# Indonesian translations for the extra package.
+# Copyright (C) 2019 THE extra'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the 
com.github.bernardodsanderson.vido package.
+# tapsaja <taps...@gmail.com>, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: extra\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-02-03 14:38+0900\n"
+"PO-Revision-Date: 2020-01-09 11:31+0700\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.6\n"
+"Last-Translator: tapsaja <taps...@gmail.com>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: id\n"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:7
+#: data/com.github.bernardodsanderson.vido.desktop.in:3
+msgid "VIDO"
+msgstr "VIDO"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:8
+msgid "Online Video Downloader"
+msgstr "Pengunduh Video Daring"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:10
+msgid ""
+"Download online videos from various sources including archive.org and much "
+"more!"
+msgstr ""
+"Unduh video daring dari berbagai sumber termasuk archive.org dan banyak yang"
+"lainnya!"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:15
+msgid "Fix audio download issues"
+msgstr "Perbaiki masalah unduh audio"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:29
+msgid "Normal Mode"
+msgstr "Moda Normal"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:33
+msgid "Ready to Download"
+msgstr "Siap Mengunduh"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:37
+msgid "Bernardo Anderson"
+msgstr "Bernardo Anderson"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:4
+msgid "VIDO - Video Downloader"
+msgstr "VIDO - Pengunduh Video"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:5
+msgid "Download Videos from the Internet"
+msgstr "Unduh Video dari Internet"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:8
+msgid "com.github.bernardodsanderson.vido"
+msgstr "com.github.bernardodsanderson.vido"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:11
+msgid "Video;Download;Internet;"
+msgstr "Video;Download;Internet;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/po/extra/ja.po 
new/vido-2.1.0/po/extra/ja.po
--- old/vido-1.3.1/po/extra/ja.po       1970-01-01 01:00:00.000000000 +0100
+++ new/vido-2.1.0/po/extra/ja.po       2021-10-10 16:53:19.000000000 +0200
@@ -0,0 +1,130 @@
+# Japanese translations for extra package.
+# Copyright (C) 2019 THE extra'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the extra package.
+# Ryo Nakano <ryonakakno...@gmail.com>, 2019.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: extra\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-12-16 21:49+0900\n"
+"PO-Revision-Date: 2019-12-16 21:52+0900\n"
+"Last-Translator: Ryo Nakano <ryonakakno...@gmail.com>\n"
+"Language-Team: none\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Poedit 2.2.4\n"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:7
+#: data/com.github.bernardodsanderson.vido.desktop.in:3
+msgid "VIDO"
+msgstr "VIDO"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:8
+msgid "Online Video Downloader"
+msgstr "???????????????????????????????????????????????????"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:10
+msgid ""
+"Download online videos from various sources including archive.org and much "
+"more!"
+msgstr ""
+"archive.org 
????????????????????????????????????????????????????????????????????????????????????????????????"
+"??????????????????"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:15
+msgid "Spanish Translation (thanks riesp)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:16
+msgid "Travis CI integration (thanks meisenzahl)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:21
+msgid "App refactoring (thanks ryonakano)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:26
+msgid "Translation Updates"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:27
+msgid "Add Lithuanian translation (thanks welaq)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:28
+msgid "Fix sensitivity of download_button (thanks ryonakano)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:29
+msgid "Update French translation (thanks NathanBnm)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:30
+msgid "Remove unneeded files (thanks ryonakano)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:35
+msgid "Update app category"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:36
+msgid "Fix window getting too big due to error messages (thank you ryonakano)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:41
+msgid "Add Russian translation (thank you camellan)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:42
+msgid "Add French translation (thank you NathanBnm)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:43
+msgid ""
+"Make 'Get Video Info' button will be disabled if there's no url (thank you "
+"ryonakano)"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:48
+msgid "Make App Translatable"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:49
+msgid "Add License"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:54
+msgid "Fix audio download issues"
+msgstr ""
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:68
+msgid "Normal Mode"
+msgstr "???????????????"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:72
+msgid "Ready to Download"
+msgstr "??????????????????????????????"
+
+#: data/com.github.bernardodsanderson.vido.appdata.xml.in:76
+msgid "Bernardo Anderson"
+msgstr "Bernardo Anderson"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:4
+msgid "VIDO - Video Downloader"
+msgstr "VIDO - ?????????????????????????????????"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:5
+msgid "Download Videos from the Internet"
+msgstr "???????????????????????????????????????????????????????????????"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:8
+msgid "com.github.bernardodsanderson.vido"
+msgstr "com.github.bernardodsanderson.vido"
+
+#: data/com.github.bernardodsanderson.vido.desktop.in:11
+msgid "Video;Download;Internet;"
+msgstr 
"Video;Download;Internet;??????;?????????;??????????????????;?????????????????????;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/po/id.po new/vido-2.1.0/po/id.po
--- old/vido-1.3.1/po/id.po     1970-01-01 01:00:00.000000000 +0100
+++ new/vido-2.1.0/po/id.po     2021-10-10 16:53:19.000000000 +0200
@@ -0,0 +1,84 @@
+# Indonesian translations for the com.github.bernardodsanderson.vido package.
+# Copyright (C) 2019 THE com.github.bernardodsanderson.vido\'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the 
com.github.bernardodsanderson.vido package.
+# tapsaja <taps...@gmail.com>, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.bernardodsanderson.vido\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-03-17 19:34+0100\n"
+"PO-Revision-Date: 2020-01-09 11:25+0700\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.6\n"
+"Last-Translator: tapsaja <taps...@gmail.com>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: id\n"
+
+#. Global Vars
+#: src/vido.vala:11 src/vido.vala:73
+msgid "Download"
+msgstr "Unduh"
+
+#: src/vido.vala:17
+msgid "Select Folder to Save"
+msgstr "Pilih Folder Penyimpanan"
+
+#. Clear the video info (or the error message)
+#: src/vido.vala:19 src/vido.vala:70 src/vido.vala:174
+msgid "Get Video Info"
+msgstr "Info V??deo"
+
+#: src/vido.vala:20
+msgid "Audio Only"
+msgstr "Audio Saja"
+
+#: src/vido.vala:21
+msgid "Add Subtitles"
+msgstr "Tambah Subtitle"
+
+#. Header
+#: src/vido.vala:37
+msgid "VIDO - Video Downloader"
+msgstr "VIDO - Pengunduh Video"
+
+#. URL input
+#: src/vido.vala:52
+msgid "Enter URL???"
+msgstr "Masukkan URL???"
+
+#: src/vido.vala:127
+msgid "Loading info???"
+msgstr "Memuat info???"
+
+#: src/vido.vala:167
+msgid "Unable to fetch the video info"
+msgstr "Tidak bisa menarik info video"
+
+#: src/vido.vala:167
+msgid "The following error message may be helpful:"
+msgstr "Pesan kesalahan berikut mungkin bisa membantu:"
+
+#: src/vido.vala:192
+msgid "Downloading???"
+msgstr "Mengunduh???"
+
+#. Triggered when the child indicated by child_pid exits
+#: src/vido.vala:221
+msgid "Finished!"
+msgstr "Selesai!"
+
+#: src/vido.vala:246
+msgid "Open Folder"
+msgstr "Buka Folder"
+
+#: src/vido.vala:249
+msgid "_Cancel"
+msgstr "Ba_talkan"
+
+#: src/vido.vala:250
+msgid "_Open"
+msgstr "_Buka"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/po/ja.po new/vido-2.1.0/po/ja.po
--- old/vido-1.3.1/po/ja.po     1970-01-01 01:00:00.000000000 +0100
+++ new/vido-2.1.0/po/ja.po     2021-10-10 16:53:19.000000000 +0200
@@ -0,0 +1,82 @@
+# Japanese translations for com.github.bernardodsanderson.vido package.
+# Copyright (C) 2019 THE com.github.bernardodsanderson.vido'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the 
com.github.bernardodsanderson.vido package.
+# Ryo Nakano <ryonakakno...@gmail.com>, 2019.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.bernardodsanderson.vido\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-12-16 21:44+0900\n"
+"PO-Revision-Date: 2019-12-16 21:49+0900\n"
+"Last-Translator: Ryo Nakano <ryonakakno...@gmail.com>\n"
+"Language-Team: none\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Poedit 2.2.4\n"
+
+#: src/MainWindow.vala:42
+msgid "VIDO - Video Downloader"
+msgstr "VIDO - ?????????????????????????????????"
+
+#: src/MainWindow.vala:48
+msgid "Enter URL???"
+msgstr "URL ????????????"
+
+#. Save location button
+#: src/MainWindow.vala:55
+msgid "Folder to Save:"
+msgstr "???????????????????????????:"
+
+#: src/MainWindow.vala:57
+msgid "Select Folder to Save"
+msgstr "??????????????????????????????????????????????????????"
+
+#. Audio Only
+#: src/MainWindow.vala:62
+msgid "Audio Only"
+msgstr "????????????"
+
+#. With Subtitles
+#: src/MainWindow.vala:65
+msgid "Add Subtitles"
+msgstr "???????????????"
+
+#. Get info button
+#. Clear the video info (or the error message)
+#: src/MainWindow.vala:73 src/MainWindow.vala:111 src/MainWindow.vala:201
+msgid "Get Video Info"
+msgstr "????????????????????????"
+
+#. download_button button
+#: src/MainWindow.vala:77 src/MainWindow.vala:114 src/MainWindow.vala:266
+msgid "Download"
+msgstr "??????????????????"
+
+#: src/MainWindow.vala:149
+msgid "Loading info???"
+msgstr "????????????????????????????????????"
+
+#: src/MainWindow.vala:191
+msgid "Unable to fetch the video info"
+msgstr "???????????????????????????????????????"
+
+#: src/MainWindow.vala:192 src/MainWindow.vala:270
+msgid "The following error message may be helpful:"
+msgstr 
"????????????????????????????????????????????????????????????????????????:"
+
+#: src/MainWindow.vala:213
+msgid "Downloading???"
+msgstr "????????????????????????????????????"
+
+#. Triggered when the child indicated by child_pid exits
+#: src/MainWindow.vala:263
+msgid "Finished!"
+msgstr "?????????????????????"
+
+#: src/MainWindow.vala:269
+msgid "Unable to download the video"
+msgstr "??????????????????????????????????????????"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/src/Application.vala 
new/vido-2.1.0/src/Application.vala
--- old/vido-1.3.1/src/Application.vala 2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/src/Application.vala 2021-10-10 16:53:19.000000000 +0200
@@ -17,6 +17,7 @@
 
 public class Application : Gtk.Application {
     private MainWindow window;
+    public static Settings settings;
 
     public Application () {
         Object (
@@ -25,13 +26,27 @@
         );
     }
 
+    static construct {
+        settings = new Settings ("com.github.bernardodsanderson.vido");
+    }
+
     protected override void activate () {
         if (window != null) {
             window.present ();
             return;
         }
 
+        int window_x, window_y;
+        settings.get ("window-position", "(ii)", out window_x, out window_y);
+
         window = new MainWindow (this);
+
+        if (window_x != -1 || window_y != -1) { // Not a first time launch
+            window.move (window_x, window_y);
+        } else { // First time launch
+            window.window_position = Gtk.WindowPosition.CENTER;
+        }
+
         window.show_all ();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vido-1.3.1/src/MainWindow.vala 
new/vido-2.1.0/src/MainWindow.vala
--- old/vido-1.3.1/src/MainWindow.vala  2019-12-05 03:14:33.000000000 +0100
+++ new/vido-2.1.0/src/MainWindow.vala  2021-10-10 16:53:19.000000000 +0200
@@ -18,6 +18,7 @@
 public class MainWindow : Gtk.ApplicationWindow {
     private string folder_location;
     private string video_info;
+    private uint configure_id;
 
     public MainWindow (Gtk.Application app) {
         Object (
@@ -37,6 +38,7 @@
         // Header
         var header = new Gtk.HeaderBar ();
         header.show_close_button = true;
+        header.has_subtitle = false;
         header.title = _("VIDO - Video Downloader");
         set_titlebar (header);
 
@@ -44,13 +46,23 @@
         var url_input = new Gtk.Entry ();
         url_input.get_style_context ().add_class ("inputurl");
         url_input.placeholder_text = _("Enter URL???");
-
-        // Add a clear icon
-        url_input.secondary_icon_name = "edit-clear";
         url_input.input_purpose = Gtk.InputPurpose.URL;
 
+        // Add a clear icon only when there are some text(s) in the entry
+        url_input.changed.connect (() => {
+            if (url_input.text != "") {
+                url_input.secondary_icon_name = "edit-clear-symbolic";
+            } else {
+                url_input.secondary_icon_name = null;
+            }
+        });
+
         // Save location button
-        var location_button = new Gtk.Button.with_label (_("Select Folder to 
Save"));
+        var location_label = new Gtk.Label (_("Folder to Save:"));
+        location_label.halign = Gtk.Align.END;
+        var location_button = new Gtk.FileChooserButton (_("Select Folder to 
Save"), Gtk.FileChooserAction.SELECT_FOLDER);
+        location_button.halign = Gtk.Align.START;
+        location_button.set_filename (get_destination ());
 
         // Audio Only
         var audio_only = new Gtk.CheckButton.with_label (_("Audio Only"));
@@ -74,18 +86,17 @@
         download_button.get_style_context ().add_class ("downloadbutton");
         download_button.sensitive = false;
 
-        location_button.grab_focus ();
-
         var grid = new Gtk.Grid ();
         grid.row_spacing = 6;
         grid.column_spacing = 6;
-        grid.attach (url_input, 0, 0, 75, 1);
-        grid.attach (location_button, 0, 1, 75, 1);
-        grid.attach (audio_only, 0, 7, 20, 1);
-        grid.attach_next_to (with_subtitles, audio_only, 
Gtk.PositionType.RIGHT, 2, 1);
-        grid.attach (video_label, 0, 3, 75, 1);
-        grid.attach (info_button, 0, 2, 75, 1);
-        grid.attach (download_button, 0, 8, 75, 12);
+        grid.attach (url_input, 0, 0, 7, 1);
+        grid.attach (location_label, 0, 1, 1, 1);
+        grid.attach (location_button, 1, 1, 1, 1);
+        grid.attach (audio_only, 2, 1, 2, 1);
+        grid.attach (with_subtitles, 4, 1, 2, 1);
+        grid.attach (info_button, 0, 2, 7, 1);
+        grid.attach (video_label, 0, 3, 7, 1);
+        grid.attach (download_button, 0, 4, 7, 1);
         add (grid);
 
         url_input.changed.connect (() => {
@@ -113,9 +124,8 @@
             }
         });
 
-        location_button.clicked.connect (() => {
-            on_open_clicked ();
-            location_button.label = folder_location;
+        location_button.file_set.connect (() => {
+            Application.settings.set_string ("destination", 
location_button.get_filename ());
 
             if (folder_location != "") {
                 if (url_input.text != "") {
@@ -138,6 +148,9 @@
             }
         });
 
+        Application.settings.bind ("audio-only", audio_only, "active", 
SettingsBindFlags.DEFAULT);
+        Application.settings.bind ("with-subtitles", with_subtitles, "active", 
SettingsBindFlags.DEFAULT);
+
         info_button.clicked.connect (() => {
             string str = _("Loading info???");
             info_button.label = str;
@@ -179,6 +192,7 @@
                         video_label.label = video_info;
                     } else {
                         video_label.label = "";
+
                         var error_dialog = new 
Granite.MessageDialog.with_image_from_icon_name (
                             _("Unable to fetch the video info"),
                             _("The following error message may be helpful:"),
@@ -223,17 +237,51 @@
                 string[] spawn_env = Environ.get ();
                 Pid child_pid;
 
-                Process.spawn_async (folder_location,
+                int standard_input;
+                int standard_output;
+                int standard_error;
+
+                Process.spawn_async_with_pipes (folder_location,
                     spawn_args,
                     spawn_env,
                     SpawnFlags.SEARCH_PATH | SpawnFlags.DO_NOT_REAP_CHILD,
                     null,
-                    out child_pid);
+                    out child_pid,
+                    out standard_input,
+                    out standard_output,
+                    out standard_error);
+
+                // stdout:
+                IOChannel output = new IOChannel.unix_new (standard_output);
+                output.add_watch (IOCondition.IN | IOCondition.HUP, (channel, 
condition) => {
+                    return process_line (channel, condition, "stdout");
+                });
+
+                // stderr:
+                IOChannel error = new IOChannel.unix_new (standard_error);
+                error.add_watch (IOCondition.IN | IOCondition.HUP, (channel, 
condition) => {
+                    return process_line (channel, condition, "stderr");
+                });
 
                 ChildWatch.add (child_pid, (pid, status) => {
                     // Triggered when the child indicated by child_pid exits
-                    download_button.label = _("Finished!");
-                    download_button.sensitive = true;
+                    if (status == 0) {
+                        download_button.label = _("Finished!");
+                        download_button.sensitive = true;
+                    } else {
+                        download_button.label = _("Download");
+
+                        var error_dialog = new 
Granite.MessageDialog.with_image_from_icon_name (
+                            _("Unable to download the video"),
+                            _("The following error message may be helpful:"),
+                            "dialog-error");
+                        error_dialog.transient_for = this;
+                        error_dialog.show_error_details (video_info);
+                        error_dialog.run ();
+                        error_dialog.destroy ();
+                    }
+
+                    video_info = ""; // Clear the video info (or the error 
message)
                     Process.close_pid (pid);
                     loop.quit ();
                 });
@@ -245,21 +293,14 @@
         });
     }
 
-    private void on_open_clicked () {
-        var file_chooser = new Gtk.FileChooserDialog (
-            _("Open Folder"),
-            this,
-            Gtk.FileChooserAction.SELECT_FOLDER,
-            _("_Cancel"), Gtk.ResponseType.CANCEL,
-            _("_Open"), Gtk.ResponseType.ACCEPT
-        );
+    private string get_destination () {
+        string destination = Application.settings.get_string ("destination");
 
-        if (file_chooser.run () == Gtk.ResponseType.ACCEPT) {
-            folder_location = file_chooser.get_filename ();
-            stderr.printf ("Folder Selected: %s\n", folder_location);
+        if (destination != null) {
+            DirUtils.create_with_parents (destination, 0775);
         }
 
-        file_chooser.destroy ();
+        return destination;
     }
 
     private bool process_line (IOChannel channel, IOCondition condition, 
string stream_name) {
@@ -283,4 +324,21 @@
 
         return true;
     }
+
+    protected override bool configure_event (Gdk.EventConfigure event) {
+        if (configure_id != 0) {
+            GLib.Source.remove (configure_id);
+        }
+
+        configure_id = Timeout.add (100, () => {
+            configure_id = 0;
+            int x, y;
+            get_position (out x, out y);
+            Application.settings.set ("window-position", "(ii)", x, y);
+
+            return false;
+        });
+
+        return base.configure_event (event);
+    }
 }

Reply via email to