Skip to content
  • Sponsor trizen/pipe-viewer

  • Notifications You must be signed in to change notification settings
  • Fork 19

Commit 0254986

Browse files
committedJan 21, 2025
Version 0.5.4
1 parent 5e81db7 commit 0254986

File tree

6 files changed

+23
-16
lines changed

6 files changed

+23
-16
lines changed
 

‎Changes

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
[CHANGELOG]
77

8+
Version 0.5.4
9+
10+
- CLI: added the config-options `download_in_subdir` and `download_in_subdir_format`.
11+
- CLI: added the --set-mtime option and the `set_mtime` config-option.
12+
- CLI: normalize the filename after applying the formatting.
13+
- GUI: fixed a looping issue when `prefer_invidious` is set to `1` and there is no working instance available.
14+
815
Version 0.5.3
916

1017
- Fixed the "CONSENT" cookie (which no longer worked due to YouTube changes).

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ After installing, you can find documentation with the following commands:
153153

154154
### LICENSE AND COPYRIGHT
155155

156-
Copyright (C) 2012-2024 Trizen
156+
Copyright (C) 2012-2025 Trizen
157157

158158
This program is free software; you can redistribute it and/or modify it
159159
under the terms of either: the GNU General Public License as published

‎bin/gtk-pipe-viewer

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/perl
22

3-
# Copyright (C) 2010-2024 Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>.
3+
# Copyright (C) 2010-2025 Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>.
44
#
55
# This program is free software; you can redistribute it and/or modify it
66
# under the terms of either: the GNU General Public License as published
@@ -15,7 +15,7 @@
1515
#-------------------------------------------------------
1616
# GTK Pipe Viewer
1717
# Fork: 30 October 2020
18-
# Edit: 11 August 2024
18+
# Edit: 21 January 2025
1919
# https://github.com/trizen/pipe-viewer
2020
#-------------------------------------------------------
2121

@@ -50,7 +50,7 @@ sub devel_path {
5050

5151
use if $DEVEL, lib => $DEVEL && catdir(devel_path(), 'lib');
5252

53-
use WWW::PipeViewer v0.5.3;
53+
use WWW::PipeViewer v0.5.4;
5454
use WWW::PipeViewer::DiskCache;
5555
use WWW::PipeViewer::ParseJSON;
5656
use WWW::PipeViewer::RegularExpressions;

‎bin/pipe-viewer

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/perl
22

3-
# Copyright (C) 2010-2024 Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>.
3+
# Copyright (C) 2010-2025 Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>.
44
#
55
# This program is free software; you can redistribute it and/or modify it
66
# under the terms of either: the GNU General Public License as published
@@ -15,7 +15,7 @@
1515
#-------------------------------------------------------
1616
# pipe-viewer
1717
# Fork: 30 October 2020
18-
# Edit: 25 August 2024
18+
# Edit: 21 January 2025
1919
# https://github.com/trizen/pipe-viewer
2020
#-------------------------------------------------------
2121

@@ -66,7 +66,7 @@ sub devel_path {
6666

6767
use if $DEVEL, lib => $DEVEL && catdir(devel_path(), 'lib');
6868

69-
use WWW::PipeViewer v0.5.3;
69+
use WWW::PipeViewer v0.5.4;
7070
use WWW::PipeViewer::ParseJSON;
7171
use WWW::PipeViewer::RegularExpressions;
7272

@@ -5362,7 +5362,7 @@ https://github.com/trizen/pipe-viewer
53625362
53635363
=head1 LICENSE AND COPYRIGHT
53645364
5365-
Copyright 2010-2024 Trizen.
5365+
Copyright 2010-2025 Trizen.
53665366
53675367
This program is free software; you can redistribute it and/or modify it
53685368
under the terms of either: the GNU General Public License as published

‎lib/WWW/PipeViewer.pm

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ memoize '_get_youtubei_content', SCALAR_CACHE => [HASH => \%youtubei_cache];
1919
#memoize('_get_video_info');
2020
memoize('_ytdl_is_available');
2121

22-
memoize('_info_from_ytdl');
23-
memoize('_extract_from_ytdl');
24-
memoize('_extract_from_invidious');
22+
#memoize('_info_from_ytdl');
23+
#memoize('_extract_from_ytdl');
24+
#memoize('_extract_from_invidious');
2525

2626
use parent qw(
2727
WWW::PipeViewer::InitialData
@@ -43,7 +43,7 @@ WWW::PipeViewer - A simple interface to YouTube.
4343
4444
=cut
4545

46-
our $VERSION = '0.5.3';
46+
our $VERSION = '0.5.4';
4747

4848
=head1 SYNOPSIS
4949
@@ -475,7 +475,7 @@ sub lwp_get {
475475

476476
# Too many errors. Pick another invidious instance.
477477
if ($url !~ m{(?:\byoutube\.com/|\bi\.ytimg\.com/)}) {
478-
#$self->pick_and_set_random_instance();
478+
## $self->pick_and_set_random_instance(); # see #209
479479
}
480480

481481
_warn_reponse_error($response, $url);

‎share/gtk-pipe-viewer.glade

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- Generated with glade 3.40.0
33
4-
Copyright (C) Copyright © 2010-2024 Trizen
4+
Copyright (C) Copyright © 2010-2025 Trizen
55
66
This file is part of GTK Pipe Viewer.
77
@@ -26,7 +26,7 @@ Author: Trizen https://github.com/trizen
2626
<!-- interface-license-type gplv3 -->
2727
<!-- interface-name GTK Pipe Viewer -->
2828
<!-- interface-description Search and play YouTube videos. -->
29-
<!-- interface-copyright Copyright \302\251 2010-2024 Trizen -->
29+
<!-- interface-copyright Copyright \302\251 2010-2025 Trizen -->
3030
<!-- interface-authors Trizen https://github.com/trizen -->
3131
<object class="GtkAdjustment" id="adjustment1">
3232
<property name="lower">1</property>
@@ -1451,7 +1451,7 @@ When the specified resolution is not found, the best available resolution is use
14511451
<property name="type-hint">normal</property>
14521452
<property name="transient-for">__MAIN__</property>
14531453
<property name="program-name">GTK Pipe Viewer</property>
1454-
<property name="copyright" translatable="yes">Copyright © 2010-2024 Trizen</property>
1454+
<property name="copyright" translatable="yes">Copyright © 2010-2025 Trizen</property>
14551455
<property name="comments" translatable="yes">Written in Perl, Gtk3 and Glade.</property>
14561456
<property name="website">https://github.com/trizen/pipe-viewer</property>
14571457
<property name="website-label" translatable="yes">https://github.com/trizen/pipe-viewer</property>

0 commit comments

Comments
 (0)
Please sign in to comment.