Skip to content

Commit

Permalink
Version 0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Jan 21, 2025
1 parent 5e81db7 commit 0254986
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 16 deletions.
7 changes: 7 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

[CHANGELOG]

Version 0.5.4

- CLI: added the config-options `download_in_subdir` and `download_in_subdir_format`.
- CLI: added the --set-mtime option and the `set_mtime` config-option.
- CLI: normalize the filename after applying the formatting.
- GUI: fixed a looping issue when `prefer_invidious` is set to `1` and there is no working instance available.

Version 0.5.3

- Fixed the "CONSENT" cookie (which no longer worked due to YouTube changes).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ After installing, you can find documentation with the following commands:

### LICENSE AND COPYRIGHT

Copyright (C) 2012-2024 Trizen
Copyright (C) 2012-2025 Trizen

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
Expand Down
6 changes: 3 additions & 3 deletions bin/gtk-pipe-viewer
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl

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

Expand Down Expand Up @@ -50,7 +50,7 @@ sub devel_path {

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

use WWW::PipeViewer v0.5.3;
use WWW::PipeViewer v0.5.4;
use WWW::PipeViewer::DiskCache;
use WWW::PipeViewer::ParseJSON;
use WWW::PipeViewer::RegularExpressions;
Expand Down
8 changes: 4 additions & 4 deletions bin/pipe-viewer
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl

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

Expand Down Expand Up @@ -66,7 +66,7 @@ sub devel_path {

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

use WWW::PipeViewer v0.5.3;
use WWW::PipeViewer v0.5.4;
use WWW::PipeViewer::ParseJSON;
use WWW::PipeViewer::RegularExpressions;

Expand Down Expand Up @@ -5362,7 +5362,7 @@ https://github.com/trizen/pipe-viewer
=head1 LICENSE AND COPYRIGHT
Copyright 2010-2024 Trizen.
Copyright 2010-2025 Trizen.
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
Expand Down
10 changes: 5 additions & 5 deletions lib/WWW/PipeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ memoize '_get_youtubei_content', SCALAR_CACHE => [HASH => \%youtubei_cache];
#memoize('_get_video_info');
memoize('_ytdl_is_available');

memoize('_info_from_ytdl');
memoize('_extract_from_ytdl');
memoize('_extract_from_invidious');
#memoize('_info_from_ytdl');
#memoize('_extract_from_ytdl');
#memoize('_extract_from_invidious');

use parent qw(
WWW::PipeViewer::InitialData
Expand All @@ -43,7 +43,7 @@ WWW::PipeViewer - A simple interface to YouTube.
=cut

our $VERSION = '0.5.3';
our $VERSION = '0.5.4';

=head1 SYNOPSIS
Expand Down Expand Up @@ -475,7 +475,7 @@ sub lwp_get {

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

_warn_reponse_error($response, $url);
Expand Down
6 changes: 3 additions & 3 deletions share/gtk-pipe-viewer.glade
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.40.0
Copyright (C) Copyright © 2010-2024 Trizen
Copyright (C) Copyright © 2010-2025 Trizen
This file is part of GTK Pipe Viewer.
Expand All @@ -26,7 +26,7 @@ Author: Trizen https://github.com/trizen
<!-- interface-license-type gplv3 -->
<!-- interface-name GTK Pipe Viewer -->
<!-- interface-description Search and play YouTube videos. -->
<!-- interface-copyright Copyright \302\251 2010-2024 Trizen -->
<!-- interface-copyright Copyright \302\251 2010-2025 Trizen -->
<!-- interface-authors Trizen https://github.com/trizen -->
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">1</property>
Expand Down Expand Up @@ -1451,7 +1451,7 @@ When the specified resolution is not found, the best available resolution is use
<property name="type-hint">normal</property>
<property name="transient-for">__MAIN__</property>
<property name="program-name">GTK Pipe Viewer</property>
<property name="copyright" translatable="yes">Copyright © 2010-2024 Trizen</property>
<property name="copyright" translatable="yes">Copyright © 2010-2025 Trizen</property>
<property name="comments" translatable="yes">Written in Perl, Gtk3 and Glade.</property>
<property name="website">https://github.com/trizen/pipe-viewer</property>
<property name="website-label" translatable="yes">https://github.com/trizen/pipe-viewer</property>
Expand Down

0 comments on commit 0254986

Please sign in to comment.