Skip to content
Permalink
Browse files

- Migration to YouTube APIv3. (just for testing)

  • Loading branch information...
trizen committed Apr 19, 2015
1 parent 0877d91 commit 72eea300c79e528ab79fc716384e2a40475667e6
Showing with 7,147 additions and 5,945 deletions.
  1. +20 −25 {WWW-YoutubeViewer → }/Build.PL
  2. 0 {WWW-YoutubeViewer → }/Changes
  3. +13 −2 {WWW-YoutubeViewer → }/MANIFEST
  4. 0 {WWW-YoutubeViewer → }/MANIFEST.SKIP
  5. +50 −4 {WWW-YoutubeViewer → }/META.json
  6. +38 −3 {WWW-YoutubeViewer → }/META.yml
  7. +2 −0 {WWW-YoutubeViewer → }/Makefile.PL
  8. +17 −15 WWW-YoutubeViewer/README → README.md
  9. +0 −2,131 WWW-YoutubeViewer/lib/WWW/YoutubeViewer.pm
  10. +0 −18 WWW-YoutubeViewer/t/pod-coverage.t
  11. +524 −403 {WWW-YoutubeViewer → }/bin/gtk-youtube-viewer
  12. +376 −311 {WWW-YoutubeViewer → }/bin/youtube-viewer
  13. +757 −0 lib/WWW/YoutubeViewer.pm
  14. +99 −0 lib/WWW/YoutubeViewer/Activities.pm
  15. +257 −0 lib/WWW/YoutubeViewer/Authentication.pm
  16. +223 −0 lib/WWW/YoutubeViewer/Channels.pm
  17. 0 {WWW-YoutubeViewer → }/lib/WWW/YoutubeViewer/GetCaption.pm
  18. +147 −0 lib/WWW/YoutubeViewer/GuideCategories.pm
  19. +7 −5 {WWW-YoutubeViewer → }/lib/WWW/YoutubeViewer/Itags.pm
  20. +97 −0 lib/WWW/YoutubeViewer/ParseJSON.pm
  21. 0 {WWW-YoutubeViewer → }/lib/WWW/YoutubeViewer/ParseXML.pm
  22. +134 −0 lib/WWW/YoutubeViewer/PlaylistItems.pm
  23. +136 −0 lib/WWW/YoutubeViewer/Playlists.pm
  24. +3 −1 {WWW-YoutubeViewer → }/lib/WWW/YoutubeViewer/RegularExpressions.pm
  25. +213 −0 lib/WWW/YoutubeViewer/Search.pm
  26. +151 −0 lib/WWW/YoutubeViewer/Subscriptions.pm
  27. +228 −50 {WWW-YoutubeViewer → }/lib/WWW/YoutubeViewer/Utils.pm
  28. +150 −0 lib/WWW/YoutubeViewer/VideoCategories.pm
  29. +294 −0 lib/WWW/YoutubeViewer/Videos.pm
  30. 0 {WWW-YoutubeViewer → }/share/gtk-youtube-viewer.desktop
  31. +3,186 −2,977 {WWW-YoutubeViewer → }/share/gtk-youtube-viewer.glade
  32. BIN {WWW-YoutubeViewer → }/share/icons/default_thumb.jpg
  33. BIN {WWW-YoutubeViewer → }/share/icons/feed_icon.png
  34. BIN {WWW-YoutubeViewer → }/share/icons/gtk-youtube-viewer.png
  35. BIN {WWW-YoutubeViewer → }/share/icons/spinner.gif
  36. BIN {WWW-YoutubeViewer → }/share/icons/user.png
  37. 0 {WWW-YoutubeViewer → }/t/00-load.t
  38. +25 −0 t/kwalitee.t
  39. 0 {WWW-YoutubeViewer → }/t/pod.t
@@ -31,32 +31,34 @@ my $builder = Module::Build->new(
},

requires => {
'Data::Dump' => 0,
'File::Spec::Functions' => 0,
'File::Path' => 0,
'Getopt::Long' => 0,
'HTTP::Request' => 0,
'LWP::UserAgent' => 0,
'Term::ANSIColor' => 0,
'Term::ReadLine' => 0,
'Text::ParseWords' => 0,
'Text::Wrap' => 0,
'URI::Escape' => 0,
'Data::Dump' => 0,
'File::Spec::Functions' => 0,
'File::Path' => 0,
'Getopt::Long' => 0,
'HTTP::Request' => 0,
'JSON' => 0,
'LWP::UserAgent' => 0,
'LWP::UserAgent::Cached' => 0,
'Term::ANSIColor' => 0,
'Term::ReadLine' => 0,
'Text::ParseWords' => 0,
'Text::Wrap' => 0,
'URI::Escape' => 0,
},

recommends => {
'Term::ReadLine::Gnu::XS' => 0, # for a better user input support
'XML::Fast' => 0, # faster XML to HASH conversion.
'Term::ReadLine::Gnu::XS' => 0, # for a better user input support
'JSON::XS' => 0, # faster JSON to HASH conversion
},

auto_features => {

shuffle_results_support => {
description => "To shuffle the results (--shuffle, -s)",
requires => {
'List::Util' => 0,
},
},
description => "To shuffle the results (--shuffle, -s)",
requires => {
'List::Util' => 0,
},
},

authentication_support => {
description => "HTTPS protocol support and authentication support",
@@ -74,13 +76,6 @@ my $builder = Module::Build->new(
},
},

channel_search_support => {
description => "Search for YouTube channels",
requires => {
'HTML::Entities' => 0,
},
},

fixed_width_support => {
description => "Print the results in a fixed-width format (--fixed-width, -W)",
requires => {
File renamed without changes.
@@ -3,16 +3,27 @@ bin/youtube-viewer
Build.PL
Changes
lib/WWW/YoutubeViewer.pm
lib/WWW/YoutubeViewer/Activities.pm
lib/WWW/YoutubeViewer/Authentication.pm
lib/WWW/YoutubeViewer/Channels.pm
lib/WWW/YoutubeViewer/GetCaption.pm
lib/WWW/YoutubeViewer/GuideCategories.pm
lib/WWW/YoutubeViewer/Itags.pm
lib/WWW/YoutubeViewer/ParseJSON.pm
lib/WWW/YoutubeViewer/ParseXML.pm
lib/WWW/YoutubeViewer/PlaylistItems.pm
lib/WWW/YoutubeViewer/Playlists.pm
lib/WWW/YoutubeViewer/RegularExpressions.pm
lib/WWW/YoutubeViewer/Search.pm
lib/WWW/YoutubeViewer/Subscriptions.pm
lib/WWW/YoutubeViewer/Utils.pm
lib/WWW/YoutubeViewer/VideoCategories.pm
lib/WWW/YoutubeViewer/Videos.pm
Makefile.PL
MANIFEST This list of files
META.json
META.yml
README
README.md
share/gtk-youtube-viewer.desktop
share/gtk-youtube-viewer.glade
share/icons/default_thumb.jpg
@@ -21,5 +32,5 @@ share/icons/gtk-youtube-viewer.png
share/icons/spinner.gif
share/icons/user.png
t/00-load.t
t/pod-coverage.t
t/kwalitee.t
t/pod.t
File renamed without changes.
@@ -26,16 +26,18 @@
},
"runtime" : {
"recommends" : {
"Term::ReadLine::Gnu::XS" : "0",
"XML::Fast" : "0"
"JSON::XS" : "0",
"Term::ReadLine::Gnu::XS" : "0"
},
"requires" : {
"Data::Dump" : "0",
"File::Path" : "0",
"File::Spec::Functions" : "0",
"Getopt::Long" : "0",
"HTTP::Request" : "0",
"JSON" : "0",
"LWP::UserAgent" : "0",
"LWP::UserAgent::Cached" : "0",
"Term::ANSIColor" : "0",
"Term::ReadLine" : "0",
"Text::ParseWords" : "0",
@@ -47,27 +49,71 @@
"provides" : {
"WWW::YoutubeViewer" : {
"file" : "lib/WWW/YoutubeViewer.pm",
"version" : "0.06"
"version" : "0.05"
},
"WWW::YoutubeViewer::Activities" : {
"file" : "lib/WWW/YoutubeViewer/Activities.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Authentication" : {
"file" : "lib/WWW/YoutubeViewer/Authentication.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Channels" : {
"file" : "lib/WWW/YoutubeViewer/Channels.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::GetCaption" : {
"file" : "lib/WWW/YoutubeViewer/GetCaption.pm",
"version" : "0.02"
},
"WWW::YoutubeViewer::GuideCategories" : {
"file" : "lib/WWW/YoutubeViewer/GuideCategories.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Itags" : {
"file" : "lib/WWW/YoutubeViewer/Itags.pm",
"version" : "0.04"
},
"WWW::YoutubeViewer::ParseJSON" : {
"file" : "lib/WWW/YoutubeViewer/ParseJSON.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::ParseXML" : {
"file" : "lib/WWW/YoutubeViewer/ParseXML.pm",
"version" : "0.04"
},
"WWW::YoutubeViewer::PlaylistItems" : {
"file" : "lib/WWW/YoutubeViewer/PlaylistItems.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Playlists" : {
"file" : "lib/WWW/YoutubeViewer/Playlists.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::RegularExpressions" : {
"file" : "lib/WWW/YoutubeViewer/RegularExpressions.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Search" : {
"file" : "lib/WWW/YoutubeViewer/Search.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Subscriptions" : {
"file" : "lib/WWW/YoutubeViewer/Subscriptions.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Utils" : {
"file" : "lib/WWW/YoutubeViewer/Utils.pm",
"version" : "0.02"
},
"WWW::YoutubeViewer::VideoCategories" : {
"file" : "lib/WWW/YoutubeViewer/VideoCategories.pm",
"version" : "0.01"
},
"WWW::YoutubeViewer::Videos" : {
"file" : "lib/WWW/YoutubeViewer/Videos.pm",
"version" : "0.01"
}
},
"release_status" : "stable",
@@ -76,5 +122,5 @@
"http://dev.perl.org/licenses/"
]
},
"version" : "0.06"
"version" : "0.05"
}
@@ -16,37 +16,72 @@ name: WWW-YoutubeViewer
provides:
WWW::YoutubeViewer:
file: lib/WWW/YoutubeViewer.pm
version: '0.06'
version: '0.05'
WWW::YoutubeViewer::Activities:
file: lib/WWW/YoutubeViewer/Activities.pm
version: '0.01'
WWW::YoutubeViewer::Authentication:
file: lib/WWW/YoutubeViewer/Authentication.pm
version: '0.01'
WWW::YoutubeViewer::Channels:
file: lib/WWW/YoutubeViewer/Channels.pm
version: '0.01'
WWW::YoutubeViewer::GetCaption:
file: lib/WWW/YoutubeViewer/GetCaption.pm
version: '0.02'
WWW::YoutubeViewer::GuideCategories:
file: lib/WWW/YoutubeViewer/GuideCategories.pm
version: '0.01'
WWW::YoutubeViewer::Itags:
file: lib/WWW/YoutubeViewer/Itags.pm
version: '0.04'
WWW::YoutubeViewer::ParseJSON:
file: lib/WWW/YoutubeViewer/ParseJSON.pm
version: '0.01'
WWW::YoutubeViewer::ParseXML:
file: lib/WWW/YoutubeViewer/ParseXML.pm
version: '0.04'
WWW::YoutubeViewer::PlaylistItems:
file: lib/WWW/YoutubeViewer/PlaylistItems.pm
version: '0.01'
WWW::YoutubeViewer::Playlists:
file: lib/WWW/YoutubeViewer/Playlists.pm
version: '0.01'
WWW::YoutubeViewer::RegularExpressions:
file: lib/WWW/YoutubeViewer/RegularExpressions.pm
version: '0.01'
WWW::YoutubeViewer::Search:
file: lib/WWW/YoutubeViewer/Search.pm
version: '0.01'
WWW::YoutubeViewer::Subscriptions:
file: lib/WWW/YoutubeViewer/Subscriptions.pm
version: '0.01'
WWW::YoutubeViewer::Utils:
file: lib/WWW/YoutubeViewer/Utils.pm
version: '0.02'
WWW::YoutubeViewer::VideoCategories:
file: lib/WWW/YoutubeViewer/VideoCategories.pm
version: '0.01'
WWW::YoutubeViewer::Videos:
file: lib/WWW/YoutubeViewer/Videos.pm
version: '0.01'
recommends:
JSON::XS: '0'
Term::ReadLine::Gnu::XS: '0'
XML::Fast: '0'
requires:
Data::Dump: '0'
File::Path: '0'
File::Spec::Functions: '0'
Getopt::Long: '0'
HTTP::Request: '0'
JSON: '0'
LWP::UserAgent: '0'
LWP::UserAgent::Cached: '0'
Term::ANSIColor: '0'
Term::ReadLine: '0'
Text::ParseWords: '0'
Text::Wrap: '0'
URI::Escape: '0'
resources:
license: http://dev.perl.org/licenses/
version: '0.06'
version: '0.05'
@@ -10,7 +10,9 @@ WriteMakefile
'File::Spec::Functions' => 0,
'Getopt::Long' => 0,
'HTTP::Request' => 0,
'JSON' => 0,
'LWP::UserAgent' => 0,
'LWP::UserAgent::Cached' => 0,
'Term::ANSIColor' => 0,
'Term::ReadLine' => 0,
'Test::More' => 0,
@@ -1,48 +1,50 @@
WWW-YoutubeViewer
## youtube-viewer

INSTALLATION
### INSTALLATION

To install this application, run the following commands:

```console
perl Build.PL
./Build
./Build test
sudo ./Build install
```

PACKAGING
### PACKAGING

To package this application, run the following commands:

```console
perl Build.PL --destdir "/my/package/path" --installdirs vendor
./Build
./Build test
./Build install --install_path script=/usr/bin
```

GTK-YOUTUBE-VIEWER
## GTK-YOUTUBE-VIEWER

To install GTK Youtube Viewer, run Build.PL with the '--gtk-youtube-viewer' argument.
To install GTK Youtube Viewer, run `Build.PL` with the `--gtk-youtube-viewer` argument.

```console
perl Build.PL --gtk-youtube-viewer
```

or:
```console
perl Build.PL --destdir "/my/path" --installdirs vendor --gtk-youtube-viewer
```

### SUPPORT AND DOCUMENTATION

SUPPORT AND DOCUMENTATION

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! If you're using a version of perl < 5.16.0, youtube-viewer (CLI) will need some changes;
!! Please, consider: https://code.google.com/p/trizen/downloads/detail?name=yv_5.16_to_5.10.pl
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

After installing, you can find documentation for this module with the
perldoc command.
After installing, you can find documentation with the following commands:

man youtube-viewer
perldoc WWW::YoutubeViewer

LICENSE AND COPYRIGHT

Copyright (C) 2012-2014 Daniel "Trizen" Șuteu
Copyright (C) 2012-2015 Daniel "Trizen" Șuteu

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
Oops, something went wrong.

0 comments on commit 72eea30

Please sign in to comment.
You can’t perform that action at this time.