Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoder - Cannot authenticate youtube account to download videos. Authorise screen keeps disappearing #9462

Open
kollossus55 opened this issue Oct 4, 2024 · 6 comments

Comments

@kollossus55
Copy link

hi

Trying to authenticate my youtube video account to download videos but the login options does not stay on the screen. It disappears straightaway.
Please advise.

Checked logfile and it shows this:-

[04-Oct-2024 11:54:38 Europe/London] AVideoLog::ERROR: {"type":1,"message":"Uncaught Error: Class "PlayLists" not found in /var/www/html/AVideo/objects/playlist.php:996\nStack trace:\n#0 /var/www/html/AVideo/objects/playlist.php(266): PlayList->save()\n#1 /var/www/html/AVideo/objects/playlists.json.php(20): PlayList::getAllFromUser()\n#2 {main}\n thrown","file":"/var/www/html/AVideo/objects/playlist.php","line":996} SCRIPT_NAME: /objects/playlists.json.php

@DanielnetoDotCom
Copy link
Member

Please check this update, this may fix the Uncaught Error: Class "PlayLists" not found

but the authentication should be something else. check your logs and also the js console

@kollossus55
Copy link
Author

kollossus55 commented Oct 4, 2024 via email

@DanielnetoDotCom
Copy link
Member

screencapture all your browser window when the error happens

https://github.com/WWBN/AVideo/wiki/Using-Your-Browser-Console-to-Diagnose-JavaScript-Errors

@kollossus55
Copy link
Author

youtube encoder problem

Screencaptured

@kollossus55
Copy link
Author

In logfile last entry:-

[04-Oct-2024 17:21:58 Europe/London] AVideoLog::DEBUG: transcribe subtitle: done videos_id=481 path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.vtt SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:58 Europe/London] AVideoLog::DEBUG: transcribe subtitle: exec vosk-transcriber -i 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3' -t srt -o 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt' > 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt.log' 2>&1 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:58 Europe/London] AVideoLog::DEBUG: transcribe subtitle: SRT will be created srtFile=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt mp3File=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 16:21:58 UTC] AVideoLog::DEBUG: Return value: 0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:58 UTC] AVideoLog::DEBUG: Command output: [] SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:58 UTC] AVideoLog::DEBUG: execAsync Linux: nohup sh -c "/usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 481 & echo $!" > /dev/null 2>&1 & SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:58 UTC] AVideoLog::DEBUG: convertVideoToMP3FileIfNotExists: start videos_id=481 try=0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 17:21:40 Europe/London] AVideoLog::DEBUG: transcribe subtitle: done videos_id=481 path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.vtt SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:40 Europe/London] AVideoLog::DEBUG: transcribe subtitle: exec vosk-transcriber -i 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3' -t srt -o 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt' > 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt.log' 2>&1 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:40 Europe/London] AVideoLog::DEBUG: transcribe subtitle: SRT will be created srtFile=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt mp3File=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 16:21:39 UTC] AVideoLog::DEBUG: Return value: 0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:39 UTC] AVideoLog::DEBUG: Command output: [] SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:39 UTC] AVideoLog::DEBUG: execAsync Linux: nohup sh -c "/usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 481 & echo $!" > /dev/null 2>&1 & SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:39 UTC] AVideoLog::DEBUG: convertVideoToMP3FileIfNotExists: start videos_id=481 try=0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 17:21:37 Europe/London] AVideoLog::DEBUG: transcribe subtitle: done videos_id=411 path/to/my/streamer/site/videos/video_230328160532_v6f6f/video_230328160532_v6f6f.vtt SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:37 Europe/London] AVideoLog::DEBUG: transcribe subtitle: exec vosk-transcriber -i 'path/to/my/streamer/site/videos/video_230328160532_v6f6f/video_230328160532_v6f6f.mp3' -t srt -o 'path/to/my/streamer/site/videos/video_230328160532_v6f6f/video_230328160532_v6f6f.srt' > 'path/to/my/streamer/site/videos/video_230328160532_v6f6f/video_230328160532_v6f6f.srt.log' 2>&1 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:37 Europe/London] AVideoLog::DEBUG: transcribe subtitle: SRT will be created srtFile=path/to/my/streamer/site/videos/video_230328160532_v6f6f/video_230328160532_v6f6f.srt mp3File=path/to/my/streamer/site/videos/video_230328160532_v6f6f/video_230328160532_v6f6f.mp3 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 16:21:37 UTC] AVideoLog::DEBUG: Return value: 0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:37 UTC] AVideoLog::DEBUG: Command output: [] SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:37 UTC] AVideoLog::DEBUG: execAsync Linux: nohup sh -c "/usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 411 & echo $!" > /dev/null 2>&1 & SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:37 UTC] AVideoLog::DEBUG: convertVideoToMP3FileIfNotExists: start videos_id=411 try=0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 17:21:20 Europe/London] AVideoLog::DEBUG: transcribe subtitle: done videos_id=481 path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.vtt SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:20 Europe/London] AVideoLog::DEBUG: transcribe subtitle: exec vosk-transcriber -i 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3' -t srt -o 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt' > 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt.log' 2>&1 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:20 Europe/London] AVideoLog::DEBUG: transcribe subtitle: SRT will be created srtFile=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt mp3File=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 16:21:20 UTC] AVideoLog::DEBUG: Return value: 0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:20 UTC] AVideoLog::DEBUG: Command output: [] SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:20 UTC] AVideoLog::DEBUG: execAsync Linux: nohup sh -c "/usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 481 & echo $!" > /dev/null 2>&1 & SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 16:21:20 UTC] AVideoLog::DEBUG: convertVideoToMP3FileIfNotExists: start videos_id=481 try=0 SCRIPT_NAME: /view/modeYoutube.php
[04-Oct-2024 17:21:01 Europe/London] AVideoLog::DEBUG: transcribe subtitle: done videos_id=481 path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.vtt SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:01 Europe/London] AVideoLog::DEBUG: transcribe subtitle: exec vosk-transcriber -i 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3' -t srt -o 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt' > 'path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt.log' 2>&1 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[04-Oct-2024 17:21:01 Europe/London] AVideoLog::DEBUG: transcribe subtitle: SRT will be created srtFile=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.srt mp3File=path/to/my/streamer/site/videos/video_230417131628_v0ec9/video_230417131628_v0ec9.mp3 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php

@DanielnetoDotCom
Copy link
Member

I would like to see a screencapture (video)

also check the encoder log not the AVideo log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants