tartube 2.5.156__py3-none-any.whl → 2.5.164__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tartube/downloads.py +46 -1
- tartube/mainapp.py +14 -0
- tartube/tartube +2 -2
- {tartube-2.5.156.data → tartube-2.5.164.data}/scripts/tartube +2 -2
- {tartube-2.5.156.dist-info → tartube-2.5.164.dist-info}/METADATA +1 -1
- {tartube-2.5.156.dist-info → tartube-2.5.164.dist-info}/RECORD +10 -10
- {tartube-2.5.156.dist-info → tartube-2.5.164.dist-info}/AUTHORS +0 -0
- {tartube-2.5.156.dist-info → tartube-2.5.164.dist-info}/LICENSE +0 -0
- {tartube-2.5.156.dist-info → tartube-2.5.164.dist-info}/WHEEL +0 -0
- {tartube-2.5.156.dist-info → tartube-2.5.164.dist-info}/top_level.txt +0 -0
tartube/downloads.py
CHANGED
|
@@ -4409,6 +4409,51 @@ class VideoDownloader(object):
|
|
|
4409
4409
|
self.stop_now_flag = True
|
|
4410
4410
|
|
|
4411
4411
|
|
|
4412
|
+
def confirm_remuxed_video(self, dir_path, filename, extension):
|
|
4413
|
+
|
|
4414
|
+
"""Called by self.extract_stdout_data().
|
|
4415
|
+
|
|
4416
|
+
Written to handle problems described in Git #714.
|
|
4417
|
+
|
|
4418
|
+
When youtube-dl reports a video has been remuxed, make sure that the
|
|
4419
|
+
media.Video object has its file extension updated.
|
|
4420
|
+
|
|
4421
|
+
If no matching video can be found, call .confirm_old_video() to handle
|
|
4422
|
+
it.
|
|
4423
|
+
|
|
4424
|
+
Args:
|
|
4425
|
+
|
|
4426
|
+
dir_path (str): The full path to the directory in which the video
|
|
4427
|
+
is saved, e.g. '/home/yourname/tartube/downloads/Videos'
|
|
4428
|
+
|
|
4429
|
+
filename (str): The video's filename, e.g. 'My Video'
|
|
4430
|
+
|
|
4431
|
+
extension (str): The video's extension, e.g. '.mp4'
|
|
4432
|
+
|
|
4433
|
+
"""
|
|
4434
|
+
|
|
4435
|
+
if DEBUG_FUNC_FLAG:
|
|
4436
|
+
ttutils.debug_time('dld 4197 confirm_remuxed_video')
|
|
4437
|
+
|
|
4438
|
+
# Create shortcut variables (for convenience)
|
|
4439
|
+
app_obj = self.download_manager_obj.app_obj
|
|
4440
|
+
media_data_obj = self.download_item_obj.media_data_obj
|
|
4441
|
+
|
|
4442
|
+
# Find the matching video, and update its file extension
|
|
4443
|
+
if isinstance(media_data_obj, media.Video):
|
|
4444
|
+
video_obj = media_data_obj
|
|
4445
|
+
|
|
4446
|
+
else:
|
|
4447
|
+
video_obj = media_data_obj.find_matching_video(app_obj, filename)
|
|
4448
|
+
|
|
4449
|
+
if video_obj:
|
|
4450
|
+
video_obj.set_file_ext(extension)
|
|
4451
|
+
|
|
4452
|
+
else:
|
|
4453
|
+
# No matching video found, so let .confirm_old_video() handle it
|
|
4454
|
+
return confirm_old_video(self, dir_path, filename, extension)
|
|
4455
|
+
|
|
4456
|
+
|
|
4412
4457
|
def confirm_sim_video(self, json_dict):
|
|
4413
4458
|
|
|
4414
4459
|
"""Called by self.extract_stdout_data().
|
|
@@ -5684,7 +5729,7 @@ class VideoDownloader(object):
|
|
|
5684
5729
|
dl_stat_dict['extension'] = extension
|
|
5685
5730
|
self.reset_temp_destination()
|
|
5686
5731
|
|
|
5687
|
-
self.
|
|
5732
|
+
self.confirm_remuxed_video(path, filename, extension)
|
|
5688
5733
|
|
|
5689
5734
|
elif (
|
|
5690
5735
|
isinstance(media_data_obj, media.Channel)
|
tartube/mainapp.py
CHANGED
|
@@ -2699,6 +2699,20 @@ class TartubeApp(Gtk.Application):
|
|
|
2699
2699
|
'--hls-split-discontinuity': False,
|
|
2700
2700
|
}
|
|
2701
2701
|
|
|
2702
|
+
# Strings used in the NSIS installation script
|
|
2703
|
+
# This IV is not used by Tartube code, but should be registered by
|
|
2704
|
+
# Weblate, so that translators can provide translations
|
|
2705
|
+
self.extra_translation_list = [
|
|
2706
|
+
# Used in the current version (v2.5.161)
|
|
2707
|
+
_('Run Tartube'),
|
|
2708
|
+
_('Visit the Tartube website for the latest news and support'),
|
|
2709
|
+
_('Uninstall Tartube'),
|
|
2710
|
+
# (Used in the current version, may be added later)
|
|
2711
|
+
_('Gtk graphics test'),
|
|
2712
|
+
_('Tartube installer'),
|
|
2713
|
+
_('Tartube v{1} Setup'),
|
|
2714
|
+
]
|
|
2715
|
+
|
|
2702
2716
|
|
|
2703
2717
|
def do_startup(self):
|
|
2704
2718
|
|
tartube/tartube
CHANGED
|
@@ -44,8 +44,8 @@ import mainapp
|
|
|
44
44
|
|
|
45
45
|
# 'Global' variables
|
|
46
46
|
__packagename__ = 'tartube'
|
|
47
|
-
__version__ = '2.5.
|
|
48
|
-
__date__ = '
|
|
47
|
+
__version__ = '2.5.164'
|
|
48
|
+
__date__ = '1 Aug 2025'
|
|
49
49
|
__copyright__ = 'Copyright \xa9 2019-2025 A S Lewis'
|
|
50
50
|
__license__ = """
|
|
51
51
|
Copyright \xa9 2019-2025 A S Lewis.
|
|
@@ -44,8 +44,8 @@ import mainapp
|
|
|
44
44
|
|
|
45
45
|
# 'Global' variables
|
|
46
46
|
__packagename__ = 'tartube'
|
|
47
|
-
__version__ = '2.5.
|
|
48
|
-
__date__ = '
|
|
47
|
+
__version__ = '2.5.164'
|
|
48
|
+
__date__ = '1 Aug 2025'
|
|
49
49
|
__copyright__ = 'Copyright \xa9 2019-2025 A S Lewis'
|
|
50
50
|
__license__ = """
|
|
51
51
|
Copyright \xa9 2019-2025 A S Lewis.
|
|
@@ -2,18 +2,18 @@ tartube/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
tartube/classes.py,sha256=6rmCoVFLLN_2uEaUV6KQMMuLrndv43ZipZ5-yEbgAm8,2588
|
|
3
3
|
tartube/config.py,sha256=YL1-JBI8u_7kHXWmjR3WfBxWMFZoJpFaxd5fADiEpU0,1099131
|
|
4
4
|
tartube/dialogue.py,sha256=3YAIbFzfl_gJMAgFnNjJs0BxvjsLnXPU2EIa2o2NjX0,16388
|
|
5
|
-
tartube/downloads.py,sha256=
|
|
5
|
+
tartube/downloads.py,sha256=RCS7OtQzxLB6le44xkkV043iCGSTWCBAQB62UcI5_tY,450973
|
|
6
6
|
tartube/ffmpeg_tartube.py,sha256=fgvwHGgdtjduaagLgFpj7PtyTO_XYNnmh2i4dNM9a-A,44123
|
|
7
7
|
tartube/files.py,sha256=S-2AzLk3bty5Yb2ZlM6Nwyuu-SulRpvoAadtxDx4JfU,3866
|
|
8
8
|
tartube/formats.py,sha256=9DouQEmglsj0uJjRiV-AJu89guoQ4Xi1itSqQQMXWtM,46516
|
|
9
9
|
tartube/info.py,sha256=sOPyzVIbAEQ6FeSOwHjdYqM5y2cXRcQ88XFeEBpwR3o,22011
|
|
10
|
-
tartube/mainapp.py,sha256=
|
|
10
|
+
tartube/mainapp.py,sha256=WoGIlOgp5fsOL5ADYN08e4Q6yT94tx11_g9nNtfE3K0,1102862
|
|
11
11
|
tartube/mainwin.py,sha256=Z-bUfjEuaHb8jp9HJ7yQCYaF3z1QVakgpU1XJ_vOyu4,1396681
|
|
12
12
|
tartube/media.py,sha256=41kFSuxJex7wTsnuDjcpcUn_9CMCkJOftklx8SVJI1A,147644
|
|
13
13
|
tartube/options.py,sha256=mR8aTLqerm6kHAlPs2EhnOIVjPDmE-5iPRjJcXtrSEc,88867
|
|
14
14
|
tartube/process.py,sha256=9sOU6GUMatcCj57rtC5-HkYRkj3sw13hATy1_BO7gG0,34349
|
|
15
15
|
tartube/refresh.py,sha256=eHNbUSQ5Q9uDIoIpYt9yFVfjl9Zir_LkKfAijI-e_gA,21710
|
|
16
|
-
tartube/tartube,sha256
|
|
16
|
+
tartube/tartube,sha256=-axdBRQLP9-30Ru_cH8j88Wy4ywgYKYfiAod_TXLRsU,4968
|
|
17
17
|
tartube/tidy.py,sha256=80UdDM7zaF6qwOu6sTuWKNlzOIe7kGYIAuqxAZLbHGU,55315
|
|
18
18
|
tartube/ttutils.py,sha256=rF334LYjaAUV_HyVuJOdfHFbVd7y5jPPf5PI1NaXrZQ,151773
|
|
19
19
|
tartube/updates.py,sha256=x2p0Me1vOIdenA7TpTaZWOM6YJTVr-mlTbBX1HVumkQ,38792
|
|
@@ -279,7 +279,7 @@ tartube/sounds/phone5.mp3,sha256=UIEIan35EmqEu-jRJ365zlrwnEHsh51L25T-ukdq8BI,495
|
|
|
279
279
|
tartube/sounds/ring.mp3,sha256=St0bxGN7OrfEqUPiV9Ht4Ig8ePBDmVqtakA_1Mk_XK8,181333
|
|
280
280
|
tartube/sounds/suspense.mp3,sha256=VAk9O_p403af_2AkgLg8KUdIhLjfzpy_jbIVeEWTfMM,92267
|
|
281
281
|
tartube/sounds/teaspoon.mp3,sha256=sePh44z3e6xIiQYbju1r5HhEtpFW8v1gClq1lrTWFkE,14082
|
|
282
|
-
tartube-2.5.
|
|
282
|
+
tartube-2.5.164.data/scripts/tartube,sha256=Lof01NZupBNW2QB9o7QD_8j1qo-PR4cDfnSzRoy181g,4954
|
|
283
283
|
usr/share/locale/de/LC_MESSAGES/tartube.mo,sha256=gUWSSMZbdD7cktd83h4jSowJBjhWYPefrajEZF-SYBA,195306
|
|
284
284
|
usr/share/locale/de/LC_MESSAGES/tartube.po,sha256=MuSCgmqPpWd6Ea1cWbT-esiRxnVXYM2h9vDh-UukYF8,330408
|
|
285
285
|
usr/share/locale/en_US/LC_MESSAGES/tartube.mo,sha256=KhbvT8fVZ8_HrwsPucAchgAX1FHGt5fHSFuKFnoZZBg,3079
|
|
@@ -306,9 +306,9 @@ usr/share/locale/zh_CN/LC_MESSAGES/tartube.mo,sha256=oARD-mcBeMu2zLcrGx5nVjMCdji
|
|
|
306
306
|
usr/share/locale/zh_CN/LC_MESSAGES/tartube.po,sha256=DhLEDqWbqyTeAt-ioGovXGlB0UsJwYqW75MKNY-f_Co,313723
|
|
307
307
|
usr/share/locale/zh_Hant/LC_MESSAGES/tartube.mo,sha256=kabrRtbYRgVzx_ayGF5LfkasBkxI864bBiOGraBRQ8Q,3864
|
|
308
308
|
usr/share/locale/zh_Hant/LC_MESSAGES/tartube.po,sha256=APcoJleYZA8sfOwgDexUjO3LyB0Lk53XYib5axHags8,245168
|
|
309
|
-
tartube-2.5.
|
|
310
|
-
tartube-2.5.
|
|
311
|
-
tartube-2.5.
|
|
312
|
-
tartube-2.5.
|
|
313
|
-
tartube-2.5.
|
|
314
|
-
tartube-2.5.
|
|
309
|
+
tartube-2.5.164.dist-info/AUTHORS,sha256=KHcobRafSHkI_MBK9R0104ez6_zBKeE_mKNgoAZM_P0,1562
|
|
310
|
+
tartube-2.5.164.dist-info/LICENSE,sha256=WSmH6FECKNVGVAuEoiREvemOSNAweNOy7vzYib7Fzow,26521
|
|
311
|
+
tartube-2.5.164.dist-info/METADATA,sha256=Oo49Pw6l-MPUWQEbCp7D9Rd5AuSEBoe7Z9QvmGtQ7BU,2168
|
|
312
|
+
tartube-2.5.164.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
313
|
+
tartube-2.5.164.dist-info/top_level.txt,sha256=6cyZ3ufJ7Im0HQ_fEYgs8SEx3JPqeFkshP8ZkUo9pNM,8
|
|
314
|
+
tartube-2.5.164.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|