File stacking not working with some files
#1
Actually, file stacking is working quite well with most files, like:
Quote:'Kokowääh (2011).nfo'
'Kokowääh (2011) part1.ts'
'Kokowääh (2011) part2.ts'
'Kokowääh (2011) part3.ts'
The nfo file is created during library export.
But, with the following files it does not work:
Quote:'Männerherzen (2009) part1.nfo'
'Männerherzen (2009) part1.ts'
'Männerherzen (2009) part2.nfo'
'Männerherzen (2009) part2.ts'
'Männerherzen (2009) part3.nfo'
'Männerherzen (2009) part3.ts'
'Männerherzen... und die ganz ganz große Liebe (2011) part1.nfo'
'Männerherzen... und die ganz ganz große Liebe (2011) part1.ts'
'Männerherzen... und die ganz ganz große Liebe (2011) part2.nfo'
'Männerherzen... und die ganz ganz große Liebe (2011) part2.ts'
'Männerherzen... und die ganz ganz große Liebe (2011) part3.nfo'
'Männerherzen... und die ganz ganz große Liebe (2011) part3.ts'
Is this because these two videos start with the same string "Männerherzen"?
Can I make it working, e.g. by changing some setting?
Reply
#2
(2022-03-04, 23:17)MarkusEh Wrote: But, with the following files it does not work:
See the note in section 5... https://kodi.wiki/view/Naming_video_file...ideo_Files
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Yes, there is "This feature can only be used when Movie Folders are used.". And yes, I tried Movie Folders.

But, if I browse a directory, I want to see the folders first, and then the files. Which does not work, if I use Movie Folders, because the system does not distinguish between "Movie Folders" (which are, from my point of view, files) and other folders.

So, I thought a small change in the regexp used to identify stack files could solve my problem.
Reply
#4
(2022-03-05, 12:36)MarkusEh Wrote: So, I thought a small change in the regexp used to identify stack files could solve my problem.
Possibly. I think the current regex is a bit greedy and works best when Movie Folders are used. Here is the regex...
https://github.com/xbmc/xbmc/blob/Matrix...#L228-L229
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
Hi,

I checked "(.*?)([ _.-]*(?:cd|dvd|p(?Sad?:ar)?t)|dis[ck])[ _.-]*[0-9]+)(.*?)(\.[^.]+)$" on https://regexr.com/ , and this regexp is just fine Smile .
Group 1 evaluates as "Männerherzen (2009)" for my first movie, and "Männerherzen... und die ganz ganz große Liebe (2011)" for the second one.
Also the other groups are as expected, for all "part1.ts", "part2.ts" and "part3.ts".

So, it's unclear to me why stacking does not work for these files. If all files are combined where "Group 1" has the same value, it should work.
@Karellen , thanks for your help and hints.
As this is not officially supported, and I cannot solve it with another regexp, I will accept the current behavior.

~ Markus
Reply
#6
Works fine here with

Image

Image

Image

In Files view parts are combined

Image

In Movies - Title view movies grouped as a set

Image

Movies in the set

Image
Reply
#7
Thank you for testing.
Seems to be related to my 32 bit rpi3.
On my 64 bit Intel system, it also works.
Reply

Logout Mark Read Team Forum Stats Members Help
File stacking not working with some files0