2023-02-28, 15:58
..
(2023-02-28, 15:58)3000 Wrote: @realcopacetic
I appreciate your long answer and since yesterday evening I am trying to make sense of it but honestly I don't know what to do.
Now I could ask you bunch of questions regarding option 1) "Doing it in skin with xsp only"... but I think it's more reasonable to tell you what I got:
I have created two .xsp files for each tag. Let's take tag CHAOS as an example:
1) CHAOS TV.xsp (All of us are dead)
2) CHAOS MOVIES.xsp (2012, #Alive, San Andreas, Train to Busan, War of the Worlds, and a few more)
(This is a good example why it's necessary to make TV shows and movies appear in one place. As you can see I have currently only one TV show for the tag. So it kinda doesn't make sense to separate it from the movies.)
Now: Which files do I need to modify to make them appear all in one folder in Kodi?
Thanks again!
(2023-07-26, 12:04)manfeed Wrote: Is it possible somehow to use the field 'DBID' to filter in a xsp line? Thanks!No unfortunately I don't think so, it's a shame because it would allow for exact matching, but you're limited to the field available via smart playlists. You can have multiple fields in the XSP to improve the accuracy, though.
musicdb://artists/?xsp={"rules":{"and":[{"field":"genre","operator":"contains","value":["Pop"]},{"field":"artist","operator":"isnot","value":["$INFO[Window(Home).Property(EncodedTitlem)]"]}]},"type":"artists"}
Quote:Genres in the music database are collected from the genre tag of the music files. Clicking on a genre on the genres node then shows you he artists with albums with songs with that genre. It means that "genre" in Kodi is inplicitly song genre.From memory, what I did was use MusicBrainz Picard to update all of my artist/album genres to match the musicbrainz database, then I think if you use Universal Artist/Album scraper, you can choose to scrape genres using MusicBrainz. That way what's in the MP3 tags, which Kodi uses for xsp filtering, will match what's in the genre fields for Artists/Albums, so you can make an xsp rule that genre = $INFO[ListItem.Genre] and should get good matching in most cases without needing a bunch of manual updating of genres.
It is possible via NFO files to give artists and albums a genre string, this is just text which Kodi will show on the info dialog, but it is not used for navigation or filtering.
(2023-09-22, 10:06)manfeed Wrote: I know that there are some fields that can’t be used to filter in a xsp line, but then, is there any other method to fill a container with a conditional content? I mean, let’s suppose I want to fill a container with all the movies that have a trailer, so the condition would be !String.IsEmpty(ListItem.Trailer). Is there any method to get that? Thanks!
xml:
<content>plugin://script.skinvariables/?info=get_filter_dir&library=video&filter_key=trailer&filter_value=:&&videodb://movies/titles/</content>
(2023-09-23, 17:07)manfeed Wrote: @jurialmunkey
I tried the line that you provided and it works well, however I'm unable to get any result when the source is the music database... I've made a lot of tests and no one works, neither for artists nor songs, for instance (sorry for being an image, but I'm unable to get the ampersan symbols to show properly):
Am I doing anything wrong? Thanks!
(2023-09-24, 03:43)jurialmunkey Wrote: @manfeed - Okay music should be fixed now and bitrate working as a filter for songs in v1.1.24Thanks! Now it works well for music too. I somehow thought I could filter by any field. I'm afraid I will have to ask you to add another filter then, but that will be for a new song field that will be available for Omega, so everything is fine for now.