Posts: 83
Joined: Jan 2013
Reputation:
0
2023-03-19, 23:46
Is there a way to add directory of movies to the Kodi library and have every movie in that directory be part of the same set?
For example, let's say I have a few hundred Looney Tunes shorts in a single directory. I don't want to add them using a TV scraper, I want to add them as movies and put them all in the same set. Is there a quick way of doing this?
Posts: 83
Joined: Jan 2013
Reputation:
0
Thanks, but adding everything I want to add as a TV show is what I want to avoid.
Posts: 3,763
Joined: Jan 2023
Reputation:
364
the only thing otherwise i can think of is add them all to a m3u and then pull that into kodi
even then im not sure how to give an m3u custom information that's not scraped
even smart playlists need items to be in the library first
Posts: 83
Joined: Jan 2013
Reputation:
0
2023-03-20, 00:51
(This post was last modified: 2023-03-20, 00:52 by uVSthem. Edited 1 time in total.)
I was hoping I could do something along the lines of add a directory as a source and then make that entire source a set.
Posts: 83
Joined: Jan 2013
Reputation:
0
2023-03-20, 01:06
(This post was last modified: 2023-03-20, 01:06 by uVSthem. Edited 1 time in total.)
I'm running a portal install of Kodi in Windows 11. No other installs of Kodi.
Posts: 198
Joined: Apr 2014
Reputation:
22
If you really want to do them as a movie set instead of a TV series and you have hundreds, the way I would probably do it is:
Scan them all into the movie library
Export to nfo files
Batch edit the nfo files to add the Looney Tunes Set tags
Remove the folder from the library to remove the movies, then re-add them so it scans the nfo files, including the set information
Posts: 5,442
Joined: Jul 2012
Reputation:
379
If you are comfortable using an SQLite editor:
INSERT INTO sets VALUES (5, 'Looney Toons', 'Looney Toon cartoons')
where "5" is the next available idSet integer in the existing sets table, "Looney Toons" is the set name and "Looney Toon cartoons" the description.
Once you have that record in sets, you can do:
UPDATE movie SET idSet = 5 WHERE c22 LIKE '%Looney Tunes folder%'
where "5" is the idSet value you just created in "sets" and "Looney Tunes folder" is a unique part of the path name containing the movies you want to assign to the set.
Of course, do this on a copy of your MyVideos121.db and test that first.
scott s.
.