Skip to content

Commit

Permalink
Fix 'is a livestream' button in Classic Mode, #643
Browse files Browse the repository at this point in the history
  • Loading branch information
A S Lewis committed Jul 22, 2024
1 parent adaed3f commit d5d8a05
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Problems can be reported at `our GitHub page <https://github.com/axcore/tartube/

Stable release: **v2.5.0 (3 Jan 2024)**

Development release: **v2.5.021 (4 Jun 2024)**
Development release: **v2.5.024 (22 Jul 2024)**

Official packages (also available from the `Github release page <https://github.com/axcore/tartube/releases>`__):

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.021
2.5.024
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 v2.5.021 installer script for MS Windows
# Tartube v2.5.024 installer script for MS Windows
#
# Copyright (C) 2019-2024 A S Lewis
#
Expand Down Expand Up @@ -294,7 +294,7 @@

;Name and file
Name "Tartube"
OutFile "install-tartube-2.5.021-64bit.exe"
OutFile "install-tartube-2.5.024-64bit.exe"

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

# Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
Expand Down
4 changes: 2 additions & 2 deletions pack/bin/no_download/tartube
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ import mainapp

# 'Global' variables
__packagename__ = 'tartube'
__version__ = '2.5.021'
__date__ = '4 Jun 2024'
__version__ = '2.5.024'
__date__ = '22 Jul 2024'
__copyright__ = 'Copyright \xa9 2019-2024 A S Lewis'
__license__ = """
Copyright \xa9 2019-2024 A S Lewis.
Expand Down
4 changes: 2 additions & 2 deletions pack/bin/pkg/tartube
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ import mainapp

# 'Global' variables
__packagename__ = 'tartube'
__version__ = '2.5.021'
__date__ = '4 Jun 2024'
__version__ = '2.5.024'
__date__ = '22 Jul 2024'
__copyright__ = 'Copyright \xa9 2019-2024 A S Lewis'
__license__ = """
Copyright \xa9 2019-2024 A S Lewis.
Expand Down
4 changes: 2 additions & 2 deletions pack/bin/strict/tartube
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ import mainapp

# 'Global' variables
__packagename__ = 'tartube'
__version__ = '2.5.021'
__date__ = '4 Jun 2024'
__version__ = '2.5.024'
__date__ = '22 Jul 2024'
__copyright__ = 'Copyright \xa9 2019-2024 A S Lewis'
__license__ = """
Copyright \xa9 2019-2024 A S Lewis.
Expand Down
2 changes: 1 addition & 1 deletion pack/tartube.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH man 1 "4 Jun 2024" "2.5.021" "tartube man page"
.TH man 1 "22 Jul 2024" "2.5.024" "tartube man page"
.SH NAME
tartube \- GUI front-end for youtube-dl and yt-dlp
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
# Setup
setuptools.setup(
name = 'tartube',
version = '2.5.021',
version = '2.5.024',
description = 'GUI front-end for youtube-dl and yt-dlp',
long_description = long_description,
long_description_content_type = 'text/plain',
Expand Down
3 changes: 2 additions & 1 deletion tartube/downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -5366,7 +5366,7 @@ def extract_stdout_data(self, stdout):
self.confirm_archived_video(match.group(1))
self.download_manager_obj.register_video('other')
return dl_stat_dict

# Likewise for the frame messages from youtube-dl direct downloads
match = re.search(
r'^frame.*size\=\s*([\S]+).*bitrate\=\s*([\S]+)',
Expand Down Expand Up @@ -9985,6 +9985,7 @@ def choose_path(self):
else:

# Retrieve the user's preferred file extension
file_ext = None
if video_obj.dummy_format is not None:
convert_flag, file_ext, resolution \
= utils.extract_dummy_format(video_obj.dummy_format)
Expand Down
2 changes: 1 addition & 1 deletion tartube/mainapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __init__(self, *args, **kwargs):
self.debug_ignore_lockfile_flag = False
# In the main window's menu, show a menu item for adding a set of
# media data objects for testing
self.debug_test_media_menu_flag = False
self.debug_test_media_menu_flag = True
# In the main window's menu, show a menu item for executing some
# arbitrary test code (by calling testing.run_test_code())
self.debug_test_code_menu_flag = False
Expand Down
1 change: 1 addition & 0 deletions tartube/mainwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11183,6 +11183,7 @@ def video_catalogue_update_video(self, video_obj):
# currently selected in the Video Index? If not, the video is not
# currently displayed in the Video Catalogue
if self.video_index_current_dbid is None \
or video_obj.parent_obj is None \
or not (
self.video_index_current_dbid == video_obj.parent_obj.dbid
or self.video_index_current_dbid == app_obj.fixed_all_folder.dbid
Expand Down
4 changes: 2 additions & 2 deletions tartube/tartube
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ import mainapp

# 'Global' variables
__packagename__ = 'tartube'
__version__ = '2.5.021'
__date__ = '4 Jun 2024'
__version__ = '2.5.024'
__date__ = '22 Jul 2024'
__copyright__ = 'Copyright \xa9 2019-2024 A S Lewis'
__license__ = """
Copyright \xa9 2019-2024 A S Lewis.
Expand Down

0 comments on commit d5d8a05

Please sign in to comment.