Closed plasmoduck closed 3 years ago
Make sure youtube-viewer
has the permission to create the file ~/.config/youtube-viewer/reg.dat
. This is where the encrypted tokens are kept in.
I just checked and that file exists and is populated with what looks like a token (I opened it in vim). Anything else I need to do?
On Tue, Aug 24, 2021 at 07:13:40AM -0700, Daniel Trizen wrote:
Make sure
youtube-viewer
has the permission to create the file~/.config/youtube-viewer/reg.dat
. This is where the encrypted tokens are kept in.-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/trizen/youtube-viewer/issues/393#issuecomment-904680277
-- Kind regards,
Chris Garvin
Nope. If the file exists, then you should be logged in when you open youtube-viewer
. To check that you're logged in, try:
youtube-viewer --likes
which should print the latest videos that you liked on YouTube.
Ok it looks like it's working, thanks
One more thing, I always get a lot of errors like this when I select a video to play, it still loads usually but I always get a message like [410 Gone] Error occurred on URL: https://www.youtube.com/get_video_info?video_id=ucJqZrRaQuY&el=detailpage&ps=default&eurl=&gl=US&hl=en&html5=1&c=TVHTML5&cver=6.20180913
why is this and how to fix?
You seem to be using an older version of youtube-viewer
. Check:
youtube-viewer --version
The latest current version is 3.9.4
, which includes a fix for that issue.
YouTube Viewer 3.9.2 it came with FreeBSD ports, let me try building from here. Otherwise can you link me to the patch?
Here's the commit in question: https://github.com/trizen/youtube-viewer/commit/7d499e5e50fde02c6209e23bd01654c4fb132d11
All the changes between versions are documented in: https://github.com/trizen/youtube-viewer/releases
Thanks I patched it. Closing this issue.
How do I stay logged in? When I loggin and paste my 0auth key and choose remember me, but after some time I get looked out. Like after an hour or so, havent really timed it. But it doesnt stay logged in.