Skip to content

Commit

Permalink
Version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Mar 4, 2024
1 parent 729f447 commit ddd2111
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 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.0

- Fixed the "400 Bad Request" error when playing a video.
- Fixed the support for related videos.
- Fixed the launch of the Gtk3 version on older versions of Perl.
- When there are no non-split URLs available, return split URLs.

Version 0.4.9

- gui: highlight downloaded videos as watched.
Expand Down
4 changes: 2 additions & 2 deletions bin/gtk-pipe-viewer
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#-------------------------------------------------------
# GTK Pipe Viewer
# Fork: 30 October 2020
# Edit: 05 January 2024
# Edit: 04 March 2024
# 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.4.9;
use WWW::PipeViewer v0.5.0;
use WWW::PipeViewer::DiskCache;
use WWW::PipeViewer::ParseJSON;
use WWW::PipeViewer::RegularExpressions;
Expand Down
4 changes: 2 additions & 2 deletions bin/pipe-viewer
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#-------------------------------------------------------
# pipe-viewer
# Fork: 30 October 2020
# Edit: 05 January 2024
# Edit: 04 March 2024
# https://github.com/trizen/pipe-viewer
#-------------------------------------------------------

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

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

use WWW::PipeViewer v0.4.9;
use WWW::PipeViewer v0.5.0;
use WWW::PipeViewer::ParseJSON;
use WWW::PipeViewer::RegularExpressions;

Expand Down
12 changes: 6 additions & 6 deletions lib/WWW/PipeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ use Memoize qw(memoize);
use WWW::PipeViewer::ParseJSON;

#<<<
#~ use Memoize::Expire;
#~ tie my %youtubei_cache => 'Memoize::Expire',
#~ LIFETIME => 600, # in seconds
#~ NUM_USES => 3;
use Memoize::Expire;
tie my %youtubei_cache => 'Memoize::Expire',
LIFETIME => 600, # in seconds
NUM_USES => 2;

#~ memoize '_get_youtubei_content', SCALAR_CACHE => [HASH => \%youtubei_cache];
memoize '_get_youtubei_content', SCALAR_CACHE => [HASH => \%youtubei_cache];
#>>>

#memoize('_get_video_info');
Expand Down Expand Up @@ -43,7 +43,7 @@ WWW::PipeViewer - A simple interface to YouTube.
=cut

our $VERSION = '0.4.9';
our $VERSION = '0.5.0';

=head1 SYNOPSIS
Expand Down

0 comments on commit ddd2111

Please sign in to comment.