all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Raghav Gururajan" <rvgn@disroot.org>
To: Giovanni Biscuolo <g@xelera.eu>, Tobias Geerinckx-Rice <me@tobias.gr>
Cc: help-guix@gnu.org
Subject: Re: Youtube Viewer
Date: Tue, 21 May 2019 16:50:53 +0000	[thread overview]
Message-ID: <88735cc752481e2cebdf933250f28eee@disroot.org> (raw)
In-Reply-To: <a2f08cd7aef20910501034f97138d994@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

Anyway, please find the configs attached with this email.

Not sure if all "PATH"s are generated correctly as guix's directories are different from other distros.

[-- Attachment #2: gtk-youtube-viewer.conf --]
[-- Type: text/plain, Size: 5139 bytes --]

#!/usr/bin/perl

# GTK YouTube Viewer 3.5.4 - configuration file

our $CONFIG = {
  active_channel_type_combobox        => 0,
  active_more_options_expander        => 0,
  active_panel_account_combobox       => 0,
  active_resolution_combobox          => 0,
  active_safeSearch_combobox          => 1,
  active_subscriptions_order_combobox => 0,
  audio_only                          => 0,
  auto_captions                       => 0,
  cache_dir                           => "/home/rg/.cache/youtube-viewer",
  captions_dir                        => "/tmp",
  clear_search_list                   => 1,
  clear_text_entries_on_click         => 0,
  comments_order                      => "time",
  comments_width                      => 80,
  dash_mp4_audio                      => 1,
  dash_support                        => 1,
  debug                               => 0,
  default_notebook_page               => 1,
  downloads_dir                       => ".",
  entry_completion_limit              => 10,
  env_proxy                           => 1,
  fullscreen                          => 0,
  get_captions                        => 1,
  history                             => 1,
  history_file                        => "/home/rg/.config/youtube-viewer/history.txt",
  history_limit                       => 10000,
  hl                                  => "en_US",
  hpaned_position                     => 772,
  hpaned_width                        => 250,
  http_proxy                          => undef,
  mainw_centered                      => 0,
  mainw_fullscreen                    => 0,
  mainw_maximized                     => 1,
  mainw_size                          => "1280x736",
  maxResults                          => 10,
  prefer_fork                         => 0,
  prefer_mp4                          => 0,
  publishedAfter                      => undef,
  publishedBefore                     => undef,
  regionCode                          => undef,
  resolution                          => "original",
  save_titles_to_history              => 0,
  show_thumbs                         => 1,
  srt_languages                       => ["en", "es"],
  terminal                            => "/run/current-system/profile/bin/gnome-terminal",
  terminal_exec                       => "-e '%s'",
  thousand_separator                  => ",",
  thumbnail_type                      => "medium",
  video_player_selected               => "mpv",
  video_players                       => {
                                           mplayer => {
                                             arg   => "-prefer-ipv4 -really-quiet -title *TITLE*",
                                             audio => "-audiofile *AUDIO*",
                                             cmd   => "mplayer",
                                             fs    => "-fs",
                                             srt   => "-sub *SUB*",
                                           },
                                           mpv => {
                                             arg   => "--really-quiet --title *TITLE* --no-ytdl",
                                             audio => "--audio-file *AUDIO*",
                                             cmd   => "/home/rg/.guix-profile/bin/mpv",
                                             fs    => "--fullscreen",
                                             srt   => "--sub-file *SUB*",
                                           },
                                           smplayer => {
                                             arg => "-close-at-end -media-title *TITLE* *URL*",
                                             cmd => "smplayer",
                                             fs  => "-fullscreen",
                                             srt => "-sub *SUB*",
                                           },
                                           vlc => {
                                             arg   => "--quiet --play-and-exit --no-video-title-show --input-title-format *TITLE*",
                                             audio => "--input-slave *AUDIO*",
                                             cmd   => "vlc",
                                             fs    => "--fullscreen",
                                             srt   => "--sub-file *SUB*",
                                           },
                                         },
  videoDimension                      => undef,
  videoEmbeddable                     => undef,
  videoLicense                        => undef,
  videoSyndicated                     => undef,
  web_browser                         => undef,
  youtube_channel_url                 => "https://www.youtube.com/channel/%s",
  youtube_playlist_url                => "https://www.youtube.com/playlist?list=%s",
  youtube_users_file                  => "/home/rg/.config/youtube-viewer/youtube_users.txt",
  youtube_video_url                   => "https://www.youtube.com/watch?v=%s",
  youtube_viewer                      => "/home/rg/.guix-profile/bin/youtube-viewer",
  youtube_viewer_args                 => [],
}

[-- Attachment #3: youtube-viewer.conf --]
[-- Type: text/plain, Size: 3838 bytes --]

#!/usr/bin/perl

# Youtube Viewer 3.5.4 - configuration file

our $CONFIG = {
  auto_captions         => 0,
  autohide_watched      => 0,
  cache_dir             => "/home/rg/.cache/youtube-viewer",
  captions_dir          => "/tmp",
  clobber               => 0,
  colors                => 1,
  comments_order        => "time",
  confirm               => 0,
  convert_cmd           => "ffmpeg -i *IN* *OUT*",
  convert_to            => undef,
  copy_caption          => 0,
  custom_layout         => 0,
  custom_layout_format  => "*NO*. *TITLE* (*AUTHOR*) (*RATING*) [*TIME*]\\n",
  dash_mp4_audio        => 1,
  dash_support          => 1,
  debug                 => 0,
  download_and_play     => 0,
  download_in_parallel  => 0,
  download_with_wget    => 0,
  downloads_dir         => ".",
  env_proxy             => 1,
  fat32safe             => 0,
  ffmpeg_cmd            => "ffmpeg",
  fullscreen            => 0,
  get_captions          => 1,
  get_term_width        => 1,
  highlight_color       => "bold",
  highlight_watched     => 1,
  history               => 0,
  history_file          => "/home/rg/.config/youtube-viewer/history.txt",
  history_limit         => 10000,
  hl                    => "en_US",
  http_proxy            => undef,
  interactive           => 1,
  keep_original_video   => 0,
  maxResults            => 20,
  merge_into_mkv        => 0,
  merge_into_mkv_args   => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced",
  merge_with_captions   => 1,
  order                 => undef,
  page                  => 1,
  prefer_mp4            => 0,
  publishedAfter        => undef,
  publishedBefore       => undef,
  regionCode            => undef,
  remove_played_file    => 0,
  resolution            => "original",
  results_fixed_width   => 0,
  results_with_colors   => 0,
  results_with_details  => 0,
  safeSearch            => undef,
  skip_if_exists        => 1,
  srt_languages         => ["en", "es"],
  subscriptions_order   => "relevance",
  thousand_separator    => ",",
  video_filename_format => "*FTITLE* - *ID*.*FORMAT*",
  video_player_selected => "mpv",
  video_players         => {
                             mplayer => {
                               arg => "-prefer-ipv4 -really-quiet -title *TITLE*",
                               audio => "-audiofile *AUDIO*",
                               cmd => "mplayer",
                               fs => "-fs",
                               novideo => "-novideo",
                               srt => "-sub *SUB*",
                             },
                             mpv => {
                               arg => "--really-quiet --title *TITLE* --no-ytdl",
                               audio => "--audio-file *AUDIO*",
                               cmd => "/home/rg/.guix-profile/bin/mpv",
                               fs => "--fullscreen",
                               novideo => "--no-video",
                               srt => "--sub-file *SUB*",
                             },
                             vlc => {
                               arg => "--quiet --play-and-exit --no-video-title-show --input-title-format *TITLE*",
                               audio => "--input-slave *AUDIO*",
                               cmd => "vlc",
                               fs => "--fullscreen",
                               novideo => "--intf dummy --novideo",
                               srt => "--sub-file *SUB*",
                             },
                           },
  videoCaption          => undef,
  videoDefinition       => undef,
  videoDimension        => undef,
  videoDuration         => undef,
  videoLicense          => undef,
  videoSyndicated       => undef,
  wget_cmd              => "wget",
  youtube_video_url     => "https://www.youtube.com/watch?v=%s",
}

  parent reply	other threads:[~2019-05-21 16:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-21 14:54 Youtube Viewer Raghav Gururajan
2019-05-21 15:24 ` Tobias Geerinckx-Rice
2019-05-21 15:26   ` Tobias Geerinckx-Rice
2019-05-21 15:33 ` Raghav Gururajan
2019-05-21 15:43   ` Tobias Geerinckx-Rice
2019-05-21 15:49     ` Pierre Neidhardt
2019-05-21 15:52     ` Raghav Gururajan
2019-05-21 16:16       ` Pierre Neidhardt
2019-05-21 16:50         ` Tobias Geerinckx-Rice
2019-05-21 15:47   ` Raghav Gururajan
2019-05-21 15:56     ` Tobias Geerinckx-Rice
2019-05-21 16:15     ` Raghav Gururajan
2019-05-21 16:17     ` Giovanni Biscuolo
2019-05-21 16:19     ` Raghav Gururajan
2019-05-21 16:32     ` Raghav Gururajan
2019-05-21 16:50     ` Raghav Gururajan [this message]
2019-05-27 18:38     ` Raghav Gururajan
2019-05-31 14:23       ` Eric Bavier
2019-05-31 17:34         ` Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=88735cc752481e2cebdf933250f28eee@disroot.org \
    --to=rvgn@disroot.org \
    --cc=g@xelera.eu \
    --cc=help-guix@gnu.org \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.