2021-05-22, 09:32
(2021-05-17, 11:22)Supay Wrote:@Supay Sorry for the delay been away with work.(2021-05-16, 16:53)BigMong Wrote:(2021-05-15, 03:03)Supay Wrote: I'm not sure if it is due to having this setup, but is anyone able to please advise me?Yes this is because of the DB, I do remember someone else doing some changes to the views that are used for the kids to remove content. I
I am running this multi-user setup with 6 users. Myself as the master so I can manage it all, with all sources scraped to the database. Other users are 2 children and 3 adults. I have setup everyone with their own profile and have everything configured for each person. For the children, they only have three sources added, for child friendly content, however of course because they run off the same database master the content for that still shows up. I therefore set a custom library node with a rule specifically for those source paths and replaced the main menu TV Shows with this custom library node. However, all of the adult source content still shows up. Is this still due to the database info showing up for them and thereby just outright bypassing the sources? Is there any way to tweak this so that we can all run off the same setup but exclude specific content from the child profiles please?
can have a look at editing some of the SQL for you.
What are the 3 sources you want for the kids?
Thank you for this! Though I imagine if you get a nice way to work this out you will also make a lot of others happy. The sources I want specifically for the children are below. I have them in folders based on UK age ratings for films and just a kids TV folder.
<default pathversion="1"></default>
<source>
<name>movies-12</name>
<path pathversion="1">nfs://10.17.42.50/srv/nfs/movies-12/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>movies-pg</name>
<path pathversion="1">nfs://10.17.42.50/srv/nfs/movies-pg/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>tv-kids</name>
<path pathversion="1">nfs://10.17.42.50/srv/nfs/tv-kids/</path>
<allowsharing>true</allowsharing>
Give this a try
Kodi V119 - 05 Custom Views.sql
This is set to create the views for U02, you can change easy on line 12
at the bottom of each view I have added 3 where strings
more can be added and even removed as long as there is a OR at the end of each line except the last line that needs a ;sql:WHERE
`path`.`strPath` LIKE '%movies-12%' OR
`path`.`strPath` LIKE '%movies-pg%' OR
`path`.`strPath` LIKE '%tv-kids%';
the % is wildcards.
Let me know if you get the desired results.
If the string are found anywhere in the path it will show