AVideo-Storage icon indicating copy to clipboard operation
AVideo-Storage copied to clipboard

Title - Description after moving to YPTStorage

Open GreenDragonTavern opened this issue 2 years ago • 33 comments

After moving video to YPTStorage, Title and Description change, why? Images included and only thing that changed was moving from local to remote storage.

LocalStorage YPTStorage

GreenDragonTavern avatar May 16 '22 13:05 GreenDragonTavern

the storage move does not suppose to make it happen. maybe you are outdated, and this issue is already fixed

but I saw a similar thing happen with the clone plugin before.

and I build it to help fix it.

https://github.com/WWBN/AVideo/blob/master/install/fixSlashN.php

this is a command-line script that you can also modify to fix the multiple slashes

DanielnetoDotCom avatar May 16 '22 15:05 DanielnetoDotCom

I just sent a modification to the fixSlashN.php file, I hope it works for you

DanielnetoDotCom avatar May 16 '22 15:05 DanielnetoDotCom

I am definitely current on all; AVideo, Encoder, and Storage. Original video stored locally was spot on, no issues, and all I did was move to YPTStorage. Is the multiple slash fix implemented on move to YPTstorage? Just did a test on a YouTube video that stored it directly on YPTStorage and the multiple slash issue is definitely there. Changed back to local storage and presto, no slash issue on same video.

GreenDragonTavern avatar May 16 '22 15:05 GreenDragonTavern

can you reproduce the slash problem on demo site?

if works there means you are not on the latest. or the error is something else

DanielnetoDotCom avatar May 16 '22 15:05 DanielnetoDotCom

Just uploaded same video to your demo site but when I went to check it, could not log back in...

GreenDragonTavern avatar May 16 '22 16:05 GreenDragonTavern

Just tested video on your site. It was stored local, and I moved it to storage 3. Yes, demo site is having same slash issue after moving to remote storage.

GreenDragonTavern avatar May 16 '22 16:05 GreenDragonTavern

You should see two of the same (Moments w/ Michael Jaco~ Retired 35Year Navy Seal & CIA Op Plays Crystal Song Bowl on Casey Key, FL) on your demo site. One local, one remote storage. Local description is spot on, remote has slash issue...

GreenDragonTavern avatar May 16 '22 16:05 GreenDragonTavern

Just making clear, this happens only when we move?

or does it happen when we import/upload a video?

DanielnetoDotCom avatar May 16 '22 16:05 DanielnetoDotCom

Both regarding YPTStorage. If I set YPTStorage as default and upload (meaning directly to YPTStorage) there's a slash issue. If I upload and store locally, there is no slash issue until after I move it to YPTStorage. That make sense?

GreenDragonTavern avatar May 16 '22 16:05 GreenDragonTavern

I did a test on the demo site and I could not reproduce it.

both (Moments w/ Michael Jaco~ Retired 35Year Navy Seal & CIA Op Plays Crystal Song Bowl on Casey Key, FL) were already with the "\n" before I transfer

and after the transfer, I did not see any difference

also, I transferred the “2000 Mules” Trailer and it seems to be fine

chrome-capture-2022-4-16

DanielnetoDotCom avatar May 16 '22 18:05 DanielnetoDotCom

I just uploaded on your demo site the same video again (previous local version was gone), it is stored locally. Look at description, and then look at description on remote storage one you did...they are not the same. I can give you another that is full of ////////////////////////////// if you like but shouldn't matter. Description should be identical whether its local or YPTStorage and they're not the same.

GreenDragonTavern avatar May 16 '22 18:05 GreenDragonTavern

where does this video come from?

is it a youtube video?

can you please share a link so I can make some tests?

DanielnetoDotCom avatar May 16 '22 19:05 DanielnetoDotCom

It's a YouTube video, here's link: https://youtu.be/XgB64_vJn1w

GreenDragonTavern avatar May 16 '22 19:05 GreenDragonTavern

Here's a really good example: https://youtu.be/ay_Eohsjn2o

Upload it from YouTube, local only. Look at title, description, it's exactly as is as seen on YouTube. Then transfer to one of your YPTStorage sites and see all the //////////////////////////////////////////

GreenDragonTavern avatar May 16 '22 19:05 GreenDragonTavern

Hi, I guess the last AVideo update fix the issue

DanielnetoDotCom avatar May 16 '22 19:05 DanielnetoDotCom

This issue is definitely not fixed using paid plugin YPTStorage. AfterLatestPull

GreenDragonTavern avatar May 16 '22 21:05 GreenDragonTavern

Did you test on demo?

Did you update your avideo with git pull?

DanielnetoDotCom avatar May 16 '22 21:05 DanielnetoDotCom

Yes, and Yes. Your demo site does exactly the same as my site. Upload a YouTube video and storage set to local, works fine and Title, Description are perfect. Move that video to YPTStorage and //// shows up. Change default storage to YPTStorage and upload same video, //// shows up. It does not matter if you move to YPTStorage or natively store to YPTStorage it is the same result, you get ////.

I have tested twice on your demo site, the behavior was the same both times, and is exactly the same behavior happening on my site.

GreenDragonTavern avatar May 16 '22 22:05 GreenDragonTavern

I did a test and it was working

I am away from pc today I will check it again tomorrow

DanielnetoDotCom avatar May 16 '22 22:05 DanielnetoDotCom

Sounds like a plan, and thank you.

GreenDragonTavern avatar May 16 '22 22:05 GreenDragonTavern

I just make more tests on the demo site.

I moved the video between storages

local to site, site to site, and site to local

also I cleared the cache to make sure it was working.

everything works as expected .

Sorry I am not able to reproduce this issue.

DanielnetoDotCom avatar May 17 '22 12:05 DanielnetoDotCom

Just did 2 quick YouTube uploads, one on storage, one on local...they "are not" the same on your demo site.

https://youtu.be/kYJ82izYLmc is URL

GreenDragonTavern avatar May 17 '22 13:05 GreenDragonTavern

From your demo site:

LocalStorage_Demo

YPTStorage_Demo

GreenDragonTavern avatar May 17 '22 13:05 GreenDragonTavern

1st image is local storage, 2nd is after moving to Storage 1 on your demo site.

GreenDragonTavern avatar May 17 '22 13:05 GreenDragonTavern

I guess I am missing a step to test it.

I still cannot reproduce that.

DanielnetoDotCom avatar May 17 '22 13:05 DanielnetoDotCom

Download video 2 times (very small clip): https://youtu.be/kYJ82izYLmc

Keep one on local storage, and move one to any YPTStorage device on your demo system. Edit the one on local storage, it is exactly as seen on YouTube. Edit the one you moved to YPTStorage, it is a mess...

GreenDragonTavern avatar May 17 '22 13:05 GreenDragonTavern

https://demo.avideo.com/video/384/moments-w-michael-jaco-~-are-you-familiar-with-turtle-island

https://demo.avideo.com/video/383/moments-w-michael-jaco-~-are-you-familiar-with-turtle-island-1

GreenDragonTavern avatar May 17 '22 14:05 GreenDragonTavern

I see, the error happens when you edit a moved video?

DanielnetoDotCom avatar May 17 '22 17:05 DanielnetoDotCom

No, nothing to do with editing Title, Description. Just replicated error on your demo site, it's there now...one local, one YPTStorage.

YPTStorage_Demo2

GreenDragonTavern avatar May 17 '22 17:05 GreenDragonTavern

And this is what displays for video on local storage:

LocalStorage_Demo2

GreenDragonTavern avatar May 17 '22 17:05 GreenDragonTavern