#Assets folder mismatch

1 messages Β· Page 1 of 1 (latest)

toxic quartz
#

Hi! I have troubles with the assets usage in a library called TestMovies and it seems Kometa is looking for a folder with the path config/assets/test . I'm completely lost at this point.
Notes:

  • I have assets_for_all: true
  • asset_directory: config/assets
  • prioritize_assets: true
sage flaxBOT
#

Welcome @toxic quartz!

It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

toxic quartz
sage flaxBOT
#

πŸ“ If you want to review this again, xeviff:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> πŸ“

#
**User Info**

Author of Linked Message: xeviff
Person who Invoked the Command: Luma
File Name: meta.log

Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation βœ…
Page 05: Plex Configuration - Section 1
Page 06: Rec 01 - ⚠️ [WARNING]
Page 07: Rec 02 - ⚠️ RUN_ORDER WARNING
Page 08: Rec 03 - πŸ’¬πŸ’‘οΈ PLEX DB CACHE ADVICE

haughty sandal
#

Are all the movie files behind that library in a single folder named "test"?

#

The asset path has nothing to do with the library name.

#

It is based on the folder in which the movie file itself is found, and for this to work all your movies have to be in individual folders with unique names.

toxic quartz
#

yes, you are right. I completely forget the name of the folder and thought it compares the name of the library. I'll fit that. Thanks!

#

well. I'm not sure that's all I'm afraid πŸ₯΄

#

I've moved the poster (now it's into config/assets/test/12 monos (1995).mkv/poster.jpg). But still complains:
1 | Asset Warning: No poster found for '12 monos' in the assets folder '/config/assets/test'.
The movie is into .../movies/test/12 monos (1995).mkv

#

ok, I see

#

a folder for the movie is missing

haughty sandal
#

The folder the movie file is in.

#

Not the name of hte movie file.

toxic quartz
#

sorry, I just figure out

haughty sandal
floral karma
#

your folder for the movie would be 12 monos and in assets/test/12 monos for the poster

toxic quartz
#

Sorry. I've read it this morning but it's too much details to bear in mind. I'm keeping the name of the library matching with the config file, also in Posterizar config... I told you, there was a moment that I completely forgot the file sctructure of the movies (Plex works fine without a folder for every movie). Is just a detail, but honestly, I think if this break the whole script I think it would be helpful if the log point it out.
I appreciate your help, guys.

haughty sandal
#

Plex works fine without a folder for every movie

That may be true but I think they recommend a folder for each movie/show.

haughty sandal
toxic quartz
#

you said Kometa is able to ask Plex for a path? do you mean Plex says /movies/[library_name]/movie_file.mkv ? In that case you could detect that is not the correct path, because it should be: /movies/[library_name]/movie_folder/movie_file.mkv

haughty sandal
#

It gets the path to the movie file, which has nothing to do with the library.

#
/path/to/media/movies/Star Wars (1977) {imdb-tt0076759} {tmdb-11}/Star Wars (1977) [1080p].mp4
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The asset dir would be:

config/assets/Star Wars (1977) {imdb-tt0076759} {tmdb-11}/poster.png
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That movie file might be in any number of libraries.

toxic quartz
#

oh, that's true that the library can have X paths. Then if you could ask Plex to the paths that contains the library (you know the library because is configured in Kometa) then you'd know their relationship. But maybe is overkill (all this enginering just to put a message in the log)

haughty sandal
#

There's still no way for Kometa to know that "test" has more than one movie in it, without also tracking all the paths in the library and somehow figuring that out.

But maybe is overkill (all this enginering just to put a message in the log)

It is absolutely overkill.

floral karma
#

@toxic quartz plex does recommend having movies in separate folders. Yes having them not in a folder will work, but folder helps with matching and just keeping things organized and recognizable

toxic quartz
#

yes. I agree

#

and also I have this structure in my libraries, but that one was just to test

floral karma
#

So why would you create a different type folder structure in a test?

toxic quartz
#

my full Kometa script lasts hours, so that's why I test with few movies in a test library

haughty sandal
#

Which is a great idea, but the test library should match the production library in all ways but size..

toxic quartz
#

yes. My bad. Was a mistake

haughty sandal
#

If you want a script to create small test libraries for these purposes I have such a thing.

toxic quartz
#

For sure will not happen anymore after this discussion hehe

#

oh really?

haughty sandal
toxic quartz
#

would be nice to have it! What I'm doing now is hardlinking files from real libraries (one by one)

haughty sandal
toxic quartz
#

THANKS! I'll take a look πŸ˜„

#

absolutely yes hehe

haughty sandal
#

I used to use symlinks for this, as well.

haughty sandal
#

There's no reason to do it manually more than once.

toxic quartz
#

agree too. I was just starting but definetly these kind of tools are very useful (usually I create them after 3 repetitions or more πŸ˜› )

haughty sandal
#

@toxic quartz Anything further needed here? If not, please type /close and hit enter.

toxic quartz
#

all good, thanks. I'll close. See you soon!