Recent Files clears if folder name is too long. (updated)

Go down

Recent Files clears if folder name is too long. (updated) Empty Recent Files clears if folder name is too long. (updated)

Post by mjaafar Mon Apr 26, 2021 2:06 am

I've discovered that if the folder name that contains the video you are playing is too long, the Recent Files history clears itself, deleting all previous videos you've played.

Update:
Found out the issue, that while the length of the folder name did play a part, a big part of it what the Folder/subfolder structure

for example
I had the folder structure like this

F:\15 Characters\9 Characters\110 Characters\118 Characters.mkv
In this structure the Recent Files would clear

but once I did this
F:\15 Characters\110 Characters\118 Characters.mkv

The Recent Files list would work as normal.


Last edited by mjaafar on Mon Apr 26, 2021 4:34 pm; edited 3 times in total (Reason for editing : Update)

mjaafar

Posts : 4
Join date : 2021-04-26

Back to top Go down

Recent Files clears if folder name is too long. (updated) Empty Re: Recent Files clears if folder name is too long. (updated)

Post by Admin Mon Apr 26, 2021 1:42 pm

I just tried with a super long foldername. The recent file list did not clear. Windows automatically used the shortened version of the folder ("folder~1").

Which version of the player are you using?
Can you give the exact name of the folder/file that triggered this problem? Then I can try to reproduce with that name.

Admin
Admin

Posts : 5837
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Recent Files clears if folder name is too long. (updated) Empty Re: Recent Files clears if folder name is too long. (updated)

Post by mjaafar Mon Apr 26, 2021 4:33 pm

Thanks

I went back to see if there's another reason it happened
and I found this

I found that while the length of the folder name did play a part, a big part of it what the Folder/subfolder structure

for example
I had the folder structure like this

F:\15 Characters\9 Characters\110 Characters\118 Characters.mkv
In this structure the Recent Files would clear

but once I did this
F:\15 Characters\110 Characters\118 Characters.mkv
The Recent Files list would work as normal.


Last edited by mjaafar on Mon Apr 26, 2021 10:38 pm; edited 1 time in total

mjaafar

Posts : 4
Join date : 2021-04-26

Back to top Go down

Recent Files clears if folder name is too long. (updated) Empty Re: Recent Files clears if folder name is too long. (updated)

Post by Admin Mon Apr 26, 2021 10:04 pm

Windows has a path limit of 260 characters in many places in its code. You should avoid long folder names.

But I am still not able to reproduce the problem, even with a longer total path.

Which version of Windows are you using?

Admin
Admin

Posts : 5837
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Recent Files clears if folder name is too long. (updated) Empty Re: Recent Files clears if folder name is too long. (updated)

Post by mjaafar Mon Apr 26, 2021 10:39 pm

My Current OS is
Edition - Windows 10 Pro
Version - 20H2
OS build - 19042.928
Experience - Windows Feature Experience Pack 120.2212.551.0

With K-Lite 16.1.2 Full Pack
MPC-HC (Nightly, 64-bit)
------------------------

Build information:
   Version:            1.9.10.86 (284a6156a)
   Compiler:           MSVC v19.26.28806
   Build date:         Apr 12 2021

LAV Filters:
   LAV Splitter:       0.75.0.2
   LAV Video:          0.75.0.2
   LAV Audio:          0.75.0.2
   FFmpeg compiler:    MinGW-w64 GCC 9.3.0

mjaafar

Posts : 4
Join date : 2021-04-26

Back to top Go down

Recent Files clears if folder name is too long. (updated) Empty Re: Recent Files clears if folder name is too long. (updated)

Post by mjaafar Mon Apr 26, 2021 11:20 pm

Found that removing just 3 characters from the folder with the longest name (110 character) down to 107, allowed the recently files to retain the list.

I don't know if this will work for you, this is the format of the folders the and file name.

15 Characters
abcdefghij klmn

9 Characters
abcdefghi

110 Characters
[abcdefg] hij 1kl mno, pqr stu vwxyzab cd! - 23-45 (efghi-jkl mno, pqrs tu vwx yzabcd!) [ef-ghi 678j k901 lmn]

118 Characters.mkv
[abcdefg] hij 1kl mno, pqr stu vwxyzab cd! - 23 (efghi-jkl mno, pqrs tu vwx yzabcd!) [ef-ghi 456j k789 lmn] [0123456o].mkv

mjaafar

Posts : 4
Join date : 2021-04-26

Back to top Go down

Recent Files clears if folder name is too long. (updated) Empty Re: Recent Files clears if folder name is too long. (updated)

Post by Admin Wed Apr 28, 2021 7:57 pm

Will be fixed in next version.

Admin
Admin

Posts : 5837
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Recent Files clears if folder name is too long. (updated) Empty Re: Recent Files clears if folder name is too long. (updated)

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum