Re: file: youtube-viewer.txt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I didn't suffer of that but you could try an alternate download command. From the help dl-command:
  
      Use set download_command <command> to specify a custom command to use for
      downloading.
  
      mps-youtube will make the following substitutions:
  
      %u - url of the remote file to download
      %d - download directory as set in DDIR in mps-youtube config
      %f - filename (determined by title and filetype)
      %F - full file path (%d/%f)
      %i - youtube video id
  
      for example, to download using aria2c (http://aria2.sourceforge.net), enter:
  
          set download_command aria2c --dir=%d --out=%f %u
  
      Note that using a custom download command does not support transcoding the
      downloaded file to another format using mps-youtube.

So you could try curl, wget, whatever, and check if that makes a difference.

Also, the note make me wonder: maybe the slowness come from the transcoding rather than the download? 

Didier

On 15/04/2019 23:45, Linux for blind general discussion wrote:
> Didier, I already use mpsyt and youtube-viewer. My main gripe with mpsyt is that the download speeds are horrendously slow, I'm talking 120 kb/s max, whereas with youtube-viewer it is using my connection's full speed. Is there a setting to get mpsyt to download as fast as possible?
> 
> On 15/04/2019 21:43, Linux for blind general discussion wrote:
>> Hello Jace,
>>
>> Didier here.
>>
>> I'll let Jude answer for youtube-viewer that I do not use.
>>
>> However mps-youtube allows that. As an side it has less deps
>> that youtube-viewer so I packaged it for Slint <smile>
>>
>> Below the output of "help search":
>>
>>        Searching and Retrieving
>>           set search_music false - search all YouTube categories.
>>        set search_music true  - search only YouTube music category.
>>           /<query> or .<query> to search for videos. e.g., /daft punk
>>        Search Arguments:
>>        -d, --duration    Can be any/short/medium/long
>>        -a, --after       Date in YYYY-MM-DD or YYYY-MM-DDTHH:MM format
>>        -l, --live        Limit search to livestreams
>>        -c, --category    Search within a category, (number or string)
>>                          Available categories:
>>                          travel, film, blogging, sports, news, music, gaming, autos
>>           //<query> or ..<query> - search for YouTube playlists. e.g.,     //80's music
>>        n and p - continue search to next/previous pages.
>>        p <number> - switch to page <number>.
>>           album <album title> - Search for matching tracks using album title
>>        channels <Channel name> - Search for channels by channelname
>>        live <category> - Search for livestreams from a range of categories.
>>        Categories: travel, film, blogging, sports, news, music, gaming, autos
>>           mkp <fullfilepath> - Creates a playlist automatically with video titles from fullfilepath
>>        <fullfilepath>: Full path of text file with one title per line
>>               mkp -d <search result number> - Create a playlist based on tracks
>>        listed in that videos description. (Alternatively one can use --description)
>>               user <username> - list YouTube uploads by <username>.
>>        user <username>/<query> - as above, but matches <query>.
>>        userpl <username> - list YouTube playlists created by <username>.
>>        pl <url or id> - Open YouTube playlist by url or id.
>>        url <url or id> - Retrieve specific YouTube video by url or id.
>>        url <url> <url> ... <url> - Retrieve specific YouTube videos by url or id.
>>        url_file <file_absolute_path> - Retrieve YouTube videos by url or id from a .txt file.
>>        File format : .txt, with one url or id by line.
>>           r <number> - show videos related to video <number>.
>>        u <number> - show videos uploaded by uploader of video <number>.
>>        c <number> - view comments for video <number>
>>
>> On 15/04/2019 22:31, Linux for blind general discussion wrote:
>>> So....youtube-viewer is pretty neat, but is there any way to set search filters like upload date or...?
>>>
>>> Jace
>>>
>>> On 15/04/2019 19:17, Linux for blind general discussion wrote:
>>>> Sorry about the long lines, eventually I'll figure out what fmt recognizes
>>>> as a beginning of a paragraph and then format better.
>>>> Cut here.
>>>>
>>>> For blinux-list@xxxxxxxxxx and other linux screen reader users.
>>>>
>>>> For this to be of any use, you need a google account and
>>>> you also need to have downloaded youtube-viewer.  You need to have orca
>>>> working since this can't be done using command line interface, firefox
>>>> or similar will have to be run.  I use mate so use mate-terminal and I
>>>> use ex for a text editor.
>>>>
>>>> 1) bring up graphical environment and have orca talking,
>>>>
>>>> 2) alt-f2 and type mate-terminal <enter>
>>>>
>>>> 3) type youtube-viewer <enter>
>>>>
>>>> 3.1) inside of youtube-viewer type :login <enter>
>>>>
>>>> 3.2) type alt-e to get to edit in mate-terminal
>>>>
>>>> 3.3) You'll be on select-all, so hit <enter>
>>>>
>>>> 3.4) hit alt-e to get to edit in mate-terminal again
>>>>
>>>> 3.5) you'll be on copy so hit <enter>
>>>>
>>>> 3.6) hit alt-f in mate-terminal
>>>> 3.7) you'll be on open-mate-terminal so hit <enter>
>>>>
>>>> 4) type ex surf <enter>
>>>>
>>>> 4.1) type $a <enter> to put ex into append mode
>>>>
>>>> 4.2) type alt-e in mate-terminal and down arrow to paste and hit enter
>>>>
>>>> 4.3) if what you read inside of youtube-viewer appears again, you did it right so hit <enter>
>>>>
>>>> 4.4) type a period on a line by itself to stop append mode and get a colon prompt back in ex
>>>>
>>>> 4.5) type x followed by <enter> to close surf and save your work
>>>>
>>>> 4.6) type grep google surf >surf.txt <enter> to grab that url
>>>>
>>>> 4.7) ex surf.txt <enter>
>>>>
>>>> 4.8) type .,.s/** Get authentication code: // <enter>
>>>>
>>>> 4.9) the line should now just have the url on it and if so,
>>>>
>>>> 5.0) type x <enter> to save your work.
>>>>
>>>> 6) type alt-f2 then type firefox <enter>
>>>>
>>>> 6.1) type alt-f to open firefox files menu and move down to open file which will be o and hit <enter>
>>>>
>>>> 6.2) type $HOME/surf.txt <enter>
>>>>
>>>> 6.3) type ctrl-a ctrl-c ctrl-l ctrl-v <enter>
>>>>
>>>> 6.4) this should get you to a google page where you log in
>>>>
>>>> 6.5) a button to allow youtube-viewer access to your account will be on that page
>>>>
>>>> 6.6) click that button and a success code will appear
>>>>
>>>> 6.7) tab on the page until you get to the copy button and hit <enter>
>>>>
>>>> 6.8) hit control-c inside of firefox and copy the code
>>>>
>>>> 6.9) hit alt-f and up arrow to quit on firefox menu and hit <enter>
>>>>
>>>> 7) type alt-f for mate-terminal menu and move to close window and hit <enter>
>>>>
>>>> 8) if your youtube-viewerscreen shows up again with you in the field where you enter the code
>>>>
>>>> 9) type alt-e for mate-terminal menu and move down to paste and hit <enter>
>>>>
>>>> 9.1) hit <enter> one more time and the code should have been sent
>>>>
>>>> 9.2) if you get a prompt remember me y/n)? hit y then hit <enter>
>>>> (
>>>> 9.3) your youtube-viewer screen should return to  what it was before you typed :login
>>>>
>>>> 10) check your e-mail for a message from google telling you youtube-viewer was granted access to your google account
>>>>
>>>> 10.1) if you got that message, you did it right.
>>>>
>>>> 10.2) that login token will be on your machine  until you run :logout in youtube-viewer
>>>>
>>>> 10.3) you should now be able to comment on videos you find and listen to with youtube-viewer using youtube-viewer.
>>>>
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list@xxxxxxxxxx
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/blinux-list
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/blinux-list

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]