Skip to content

Commit

Permalink
Update to v1.3.048
Browse files Browse the repository at this point in the history
  • Loading branch information
A S Lewis committed Jan 23, 2020
1 parent 311b525 commit cc7b9c8
Show file tree
Hide file tree
Showing 12 changed files with 112 additions and 25 deletions.
89 changes: 86 additions & 3 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,86 @@
v1.3.048 (23 Jan 2019)
-------------------------------------------------------------------------------

MAJOR NEW FEATURES
- Tartube now creates an icon in the user's system tray. Closing the main
window now closes to the tray, by default. To disable this behaviour,
click Edit > System preferences > Windows > Deselect 'Close to the tray...'
- When that functionality is enabled, Tartube can be shutdown by clicking
File > Quit. Scheduled download operations will still take place if Tartube
has been closed to the tray. Implements Github issue #37
- Tartube can now show a desktop notification at the end of a download
operation, rather that a dialogue window. This does not work on MS Windows.
On other operating systems, enable desktop notifications by clicking
Edit > System preferences... > Operations > Show a desktop notification...
- When you click the 'Add new video(s)' button, the folder displayed in the
dialogue window is now the same folder that's selected in the main window
(if any). The same applies for adding channels, playlists and folders.
Fixes Github issue #36
- If you normally use the 'Check all' button rather than the 'Download all'
button, and if you want to download a temporary copy of one of the videos,
there's now an easier way to do it. In the Videos tab, right-click the
video, and select 'Temporary > Download' or 'Temporary > Download and
Watch'. A copy of the video is downloaded into the 'Temporary Videos'
folder, without affecting any other folders

MINOR NEW FEATURES
- The icons for channels and playlists have been replaced, to make it easier to
tell them apart. Some other icons have been replaced too
- Videos can now be dragged and dropped from a web browser (or similar
application) into Tartube's main window, which automatically adds the video
to the currently selected folder (or 'Unsorted Videos', if no folder is
selected). Unfortunately, the code is not yet working reliably. We are
looking for a solution (Github issue #35)
- The layout of the Format tab in the download options window has been improved
to alleviate confusion experienced by users trying to download a video to
a sound format such as .mp3 (only). See the new section in the README file
- A number of new video/audio formats have been added, for example several new
60fps formats, implementing Github issue #40
- When you apply download options to a video/channel/playlist/folder, the
options are now cloned from the default set of options (those visible in
Edit > General download options...). To disable this behaviour, click
Edit > System preferences... > Operations > When applying download options,
automatically clone general download options. Implements Github issue #39
- The options already applied to a video/channel/playlist/folder can now be
reset to match the general options, any time you want. Use the new button
at the bottom of the download options window, in the General tab

MAJOR FIXES
- Fixed a rare crash when the video's JSON filename was too long for the
operating system
- In the download options window, Formats tab, the user can add up to three
video formats. The third format, if added, was always ignored. Fixed

MINOR FIXES
- If you perform a refresh operation on a folder, the operation now applies to
all videos, channels, playlists and folders inside it
- After adding a video to the folder that's currently selected, the video does
not appear immediately in the video catalogue. Fixed
- In the Progress and Errors/Warnings tabs, the column headers scrolled away
along with the rest of the list. Fixed; they are now always visible
- Video nicknames were not set correctly after an update operation. Fixed
- During a refresh operation, a video's name was compared against the full
filepath (filename and extension), which produced none of the intended
matches. Fixed
- The edit/preference windows had a tendency to increase in size without
limits. Fixed
- A video's annotations.xml file was not deleted correctly, when required.
Fixed
- In the download options window, the option 'hls-prefer-ffmpeg' is now working
correctly
- In the download options window, the 'prefer avconv over ffmpeg' options have
been desensitised on MS Windows, as there is no known method of using
Tartube with avconv on MS Windows
- youtube-dl creates a file, ytdl-archive.txt, recording all the videos that
it has downloaded. This can interfere if the user tries to re-download the
video(s) for any reason. Create of the ytdl-archive.txt file can now be
disabled (Edit > System preferences... > youtube-dl > Deselect 'Allow
youtube-dl to create its own archive...')
- If creation of the archive file is nonetheless enabled, Tartube can now
re-download video(s) without problems
- In rare circumstances, Tartube was unable to redraw the video catalogue
(the right-hand side of the Videos tab). Fxied

v1.3.007 (20 Dec 2019)
-------------------------------------------------------------------------------

Expand All @@ -11,7 +94,7 @@ MAJOR FIXES
MINOR FIXES
- Fixed an invalid time value which (sometimes) prevented a refresh operation
from completing correctly

v1.3.0 (20 Dec 2019)
-------------------------------------------------------------------------------
MAJOR NEW FEATURES
Expand Down Expand Up @@ -84,7 +167,7 @@ MAJOR FIXES
Tartube no longer freezes on shutdown
- On MS Windows, Tartube was unable to open a video file in the system's
default media player, if the name contained an ampersand. Fixed

MINOR FIXES
- When deleting large channels/playlists/folders, sometimes not everything was
deleted, and the user had to delete the item a second time. This was due to
Expand All @@ -96,7 +179,7 @@ MINOR FIXES
- In the 'Delete channel' dialogue window (and so on), the name of the channel
to be deleted is now displayed prominently
- The size of the MS Windows installer has been reduced by about 40%

v1.2.008 (30 Sep 2019)
-------------------------------------------------------------------------------

Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ Problems can be reported at `our GitHub page <https://github.com/axcore/tartube/
4 Downloads
===========

Latest version: **v1.3.007 (20 Dec 2019)**
Latest version: **v1.3.048 (23 Jan 2019)**

- `MS Windows (32-bit) installer <https://sourceforge.net/projects/tartube/files/v1.3.007/install-tartube-1.3.007-32bit.exe/download>`__ from Sourceforge
- `MS Windows (64-bit) installer <https://sourceforge.net/projects/tartube/files/v1.3.007/install-tartube-1.3.007-64bit.exe/download>`__ from Sourceforge
- `Source code <https://sourceforge.net/projects/tartube/files/v1.3.007/tartube_v1.3.007.tar.gz/download>`__ from Sourceforge
- `MS Windows (32-bit) installer <https://sourceforge.net/projects/tartube/files/v1.3.048/install-tartube-1.3.048-32bit.exe/download>`__ from Sourceforge
- `MS Windows (64-bit) installer <https://sourceforge.net/projects/tartube/files/v1.3.048/install-tartube-1.3.048-64bit.exe/download>`__ from Sourceforge
- `Source code <https://sourceforge.net/projects/tartube/files/v1.3.048/tartube_v1.3.048.tar.gz/download>`__ from Sourceforge
- `Source code <https://github.com/axcore/tartube>`__ and `support <https://github.com/axcore/tartube/issues>`__ from GitHub

5 Installation
Expand Down
6 changes: 3 additions & 3 deletions nsis/tartube_install_32bit.nsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Tartube v1.3.007 installer script for MS Windows
# Tartube v1.3.048 installer script for MS Windows
#
# Copyright (C) 2019-2020 A S Lewis
#
Expand Down Expand Up @@ -139,7 +139,7 @@

;Name and file
Name "Tartube"
OutFile "install-tartube-1.3.007-32bit.exe"
OutFile "install-tartube-1.3.048-32bit.exe"

;Default installation folder
InstallDir "$LOCALAPPDATA\Tartube"
Expand Down Expand Up @@ -244,7 +244,7 @@ Section "Tartube" SecClient
"Publisher" "A S Lewis"
WriteRegStr HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Tartube" \
"DisplayVersion" "1.3.007"
"DisplayVersion" "1.3.048"

# Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
Expand Down
6 changes: 3 additions & 3 deletions nsis/tartube_install_64bit.nsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Tartube v1.3.007 installer script for MS Windows
# Tartube v1.3.048 installer script for MS Windows
#
# Copyright (C) 2019-2020 A S Lewis
#
Expand Down Expand Up @@ -140,7 +140,7 @@

;Name and file
Name "Tartube"
OutFile "install-tartube-1.3.007-64bit.exe"
OutFile "install-tartube-1.3.048-64bit.exe"

;Default installation folder
InstallDir "$LOCALAPPDATA\Tartube"
Expand Down Expand Up @@ -245,7 +245,7 @@ Section "Tartube" SecClient
"Publisher" "A S Lewis"
WriteRegStr HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Tartube" \
"DisplayVersion" "1.3.007"
"DisplayVersion" "1.3.048"

# Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# Setup
setuptools.setup(
name='tartube',
version='1.3.044',
version='1.3.048',
description='GUI front-end for youtube-dl',
# long_description=long_description,
long_description="""Tartube is a GUI front-end for youtube-dl, partly based
Expand Down
2 changes: 1 addition & 1 deletion tartube/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5768,7 +5768,7 @@ def setup_operations_tab(self):
)
if self.app_obj.operation_dialogue_mode == 'desktop':
radiobutton2.set_active(True)
if os.name != 'nt':
if os.name == 'nt':
radiobutton2.set_sensitive(False)
# Signal connect appears below

Expand Down
2 changes: 1 addition & 1 deletion tartube/downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@


# !!! Debugging flag
DEBUG_FUNC_FLAG = True
DEBUG_FUNC_FLAG = False


# Decorator to add thread synchronisation to some functions in the
Expand Down
3 changes: 2 additions & 1 deletion tartube/formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
today = datetime.date.today()
day = today.strftime("%d")
month = today.strftime("%m")
if (int(month) == 12 and int(day) >= 24) or (int(month) == 1 and int(day) <= 5):
if (int(month) == 12 and int(day) >= 24) \
or (int(month) == 1 and int(day) <= 5):
xmas_flag = True
else:
xmas_flag = False
Expand Down
2 changes: 1 addition & 1 deletion tartube/mainapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@


# !!! Debugging flag
DEBUG_FUNC_FLAG = True
DEBUG_FUNC_FLAG = False


# Classes
Expand Down
8 changes: 6 additions & 2 deletions tartube/mainwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@


# !!! Debugging flag
DEBUG_FUNC_FLAG = True
DEBUG_FUNC_FLAG = False


# Classes
Expand Down Expand Up @@ -10508,6 +10508,10 @@ def __init__(self, main_win_obj):
if folder_obj:
self.folder_list.insert(0, folder_obj.name)

# Store the combobox's selected item, so the calling function can
# retrieve it.
self.parent_name = self.folder_list[0]

label2 = Gtk.Label('Add the videos to this folder')
grid.attach(label2, 0, 6, 2, 1)

Expand Down Expand Up @@ -10551,7 +10555,7 @@ def on_combo_changed(self, combo):

"""Called from callback in self.__init__().
Store the combobox's selected item, so the calling function can
Updates the combobox's selected item, so the calling function can
retrieve it.
Args:
Expand Down
4 changes: 2 additions & 2 deletions tartube/tartube
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import mainapp

# 'Global' variables
__packagename__ = 'tartube'
__version__ = '1.3.044'
__date__ = '17 Jan 2020'
__version__ = '1.3.048'
__date__ = '23 Jan 2020'
__copyright__ = 'Copyright \xa9 2019-2020 A S Lewis'
__license__ = """
Copyright \xc2\xa9 2019-2020 A S Lewis.
Expand Down
5 changes: 2 additions & 3 deletions tartube/tartube_debian
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import mainapp

# 'Global' variables
__packagename__ = 'tartube'
__version__ = '1.3.044'
__date__ = '17 Jan 2019'
__version__ = '1.3.048'
__date__ = '23 Jan 2020'
__copyright__ = 'Copyright \xa9 2019-2020 A S Lewis'
__license__ = """
Copyright \xc2\xa9 2019-2020 A S Lewis.
Expand Down Expand Up @@ -73,7 +73,6 @@ __icon_dir_list__ = [
os.path.abspath(os.path.join('/usr', 'share', __packagename__, 'icons')),
]


# Start Tartube
app = mainapp.TartubeApp()
app.run(sys.argv)

0 comments on commit cc7b9c8

Please sign in to comment.