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

Force update available resolutions #5680

Closed
akhilleusuggo opened this issue Sep 10, 2021 · 13 comments
Closed

Force update available resolutions #5680

akhilleusuggo opened this issue Sep 10, 2021 · 13 comments

Comments

@akhilleusuggo
Copy link
Contributor

Hello,

I have deleted some resolutions ( 240p,360p and 1440p ) , by going to the video dir and just rm *_240.mp4
Cleared the cache, updated disk usage, but no luck, on the videos switch resolutions they're still showing up, and when I click on thos resolutions the video player just get stuck, no error message or anything.

Anyway to force update available resolutions ?

@DanielnetoDotCom
Copy link
Member

Some caches are saved on the session, try to delete the cookies and try again.

NOT just delete the cache folder, but also click on the clear cache link

image

@JoshWho
Copy link
Contributor

JoshWho commented Sep 10, 2021

the video data in the database will still think those resolutions exist and will try to force whatever you have set as the default resolution

@DanielnetoDotCom
Copy link
Member

currently, we do not save any resolution info on the database

@JoshWho
Copy link
Contributor

JoshWho commented Sep 10, 2021

kewl

@akhilleusuggo
Copy link
Contributor Author

Well, doesn't matter how many times I clear the cache, the resolutions are still showing up.

@akhilleusuggo
Copy link
Contributor Author

They also show up on the video manager ( to download ). Clicking on download just redirects to a blank page ( since no real file exists )

@akhilleusuggo
Copy link
Contributor Author

@DanielnetoDotCom Any updates? This issue is coming from YPT-Storage, since all my videos are hosted there. I believe is not checking them. I do have ;

$global['disableVideoTags'] = 0;

Meaning it should be checking.

@akhilleusuggo
Copy link
Contributor Author

Also got some error logs here ;

AH01276: Cannot serve directory /var/www/html/AVideo-Storage/videosxxxf2d99.99322337/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive

my config apache


<Directory /var/www/html/AVideo-Storage/>
    Options Indexes FollowSymLinks
    XSendFile on
    XSendFilePath /var/www/html/AVideo-Storage/
    AllowOverride All
    Require all granted
    Order Allow,Deny
    Allow from All
</Directory>

@akhilleusuggo
Copy link
Contributor Author

Found where the issue is coming from ...... The cache files on the root website....

image

All empty files of 4kb.

Anywhere to sync and remove ?

@DanielnetoDotCom
Copy link
Member

DanielnetoDotCom commented Sep 13, 2021

I see you are using the YPT storage,

you also MUST remove the files from the AVideo/videos dir

on the AVideo/videos dir there is a 10b dummy file for every video file you have on the storage.

AVideo always searches for the dummy file.

I am not sure how you can sync it now.

@akhilleusuggo
Copy link
Contributor Author

Well, this is horrible. I found many duplicated videos in YPT-Storage and Local Storage. When videos are moved to YPT-Storage they don't get removed from Local ...

@DanielnetoDotCom
Copy link
Member

If the Streamer for some reason cannot guarantee it was fully transferred it will not delete the local file.

but if you click it to transfer again it will check the filesizes and if it matches it will not transfer and will delete the local copy.

@stale
Copy link

stale bot commented Oct 14, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 14, 2021
@stale stale bot closed this as completed Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants