Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2018-01-06 Thread Caleb Herbert

> Like... you type in "youtube-dl *insert youtube url here*" does that activate 
>  
> javascript?

Yes.

https://trisquel.info/en/forum/liberated-version-youtube-dl-almost-here


signature.asc
Description: This is a digitally signed message part


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2018-01-01 Thread svenerik_vn
Oh, so youtube-dl executes Google's proprietary javascript in order to  
download specific videos that "is behind DRM". But other youtube videos which  
are not "behind DRM", youtube-dl is able to download without the use of any  
javascript?

Fascinating


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2018-01-01 Thread svenerik_vn

Okay okay, but when does it do that for example?

Like... you type in "youtube-dl *insert youtube url here*" does that activate  
javascript?


Pardon me if this is such a nooby question.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2018-01-01 Thread svenerik_vn

Cheers, I'll try that! :)


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2018-01-01 Thread svenerik_vn

Aha! Well, I guess I'll do that too :)

But what about youtube-dl, that program is all free, right? I've used it  
download some videos.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-31 Thread masonhock

> Unfortunately, some videos, like music videos, will not play without
> proprietary software.

Oh shit, I didn't consider that. That's a really good point.

GrevenGull, it's possible that the videos you've been using to test  
youtube-viewer, mpv, and mps-youtube have DRM or something. This is often the  
case with things like music videos. Try some random personal uploads and see  
if you have better luck.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-31 Thread Caleb Herbert
On Thu, 2017-12-28 at 21:34 +0100, svenerik...@protonmail.com wrote:
> Gotcha! So now it worked. youtube-viewer successfully installed. Was not able 
>  
> to play videos. 

youtube-viewer uses a method of fetching YouTube videos that does not
execute Google's proprietary JavaScript in the background the way
youtube-dl does.

Unfortunately, some videos, like music videos, will not play without
proprietary software.  And sometimes, it changes over time.  One day,
you can download it without JS, and you can't the next.  This is why I
now archive ALL videos people send me.  I should probably start tagging
them so they're easy to search...


signature.asc
Description: This is a digitally signed message part


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread masonhock
Okay, run the UI from a terminal$ gtk-youtube-viewerattempt to play a video,  
and copy/paste any errors you get here.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread svenerik_vn

Gotcha!

Okay, so I installed VLC and made VLC the "video-player-selected".

I was able to download a youtube-film and play it VLC, if that helps.

Also, I tried your other strategy in the other comment and I didn't get an  
error message per se it just gave me a lot of information about the film I  
selected and then asked me to type a number again from the same list of  
search results.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread masonhock
Here's something else to try if you've determined that your video player  
isn't the issue.


Run the cli (command line interface) for youtube-viewer with$ youtube-viewer

Type a keyword and press enter to search for videos, and then type 1 and  
press enter to play the first search result. See if that gives you an error  
message.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread masonhock
This is related enough that it can probably stay in the same thread. Since  
it's not really a Trisquel issue let's not have too many separate threads.


Which video player do you have under 'video_player_selected'? Make sure that  
this video player is definitely installed, and then try to play another video  
with that player (not through youtube-viewer).


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread svenerik_vn
Gotcha! So now it worked. youtube-viewer successfully installed. Was not able  
to play videos. I changed the text in the "video players field" like you  
suggested in the other thread, and that did not help.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread masonhock

youtube-viewer is probably included in "and others"


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread masonhock
No problem. Press [Enter] to continue like it says and install  
youtube-viewer. Just don't install anything else from this PPA without  
checking the license first to make sure it's free software.


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread svenerik_vn
When I do the add-apt-repository command I get this I get a message  
(screenshot).


Interesting thing I note here is that I can't seem to find youtube-viewer  
among the given packages.


But that didn't seem to stop me the other time I installed youtube-viewer  
using this method though..





Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread masonhock

I assume that have added youtube-viewer

https://github.com/trizen/youtube-viewer

via the PPA with$ sudo add-apt-repository ppa:nilarimogard/webupd8

Now update the repository with$ sudo apt updateand install with$ sudo apt  
install youtube-viewer


Re: [Trisquel-users] "E: Unable to locate package youtube/viewer" when trying to install youtube/viewer through terminal

2017-12-28 Thread svenerik_vn

NB! I am on Trisquel Mini