- March 10, 2006
- 4,434
- 1,897
- Thread starter
- Moderator
- #41
Re: Adult movie scraper (details+covers) -- v1.0.5
You could manually setup two different MediaPortal installations, so that each can have their own MovingPictures database, but this is very cumbersome.
What you might want to consider instead is to make use of the parental filtering options that are available. You would add a filter that for example reads "Full pathname" => "does not contain" => "xXx\". This means that when you start up MovingPictures the orange lock will show in top left corner (on B3W skin), to indicate that you are viewing the filtered list (safe for kids, etc). By then entering your PIN code, every movie is shown.
You could then even take it a step further by creating a seperate category that you name "Adult movies" which you assing with the filter "Full pathname" => "contains" => "xXx\", so that it will show them all together. Of course since this scraper adds all the adult movies properly with the 'X' genre, you can simply use the existing dynamic 'Genre' category to get to the collection quick as well. But you could edit other existing categories to exclude the adult movies as well.
For example I got the standard recently added filter excluding adult movies as well. That way if I got friends over and forgot I got parental filter still off, that I don't have adult movies show up in other generic filters such as 'Recently Added', or 'All Movies', etc, unless I specifically navigate to the dynamic Genre for adult movies.
This does mean you have to add the exclude rule to every static category entry you have and in worst case convert dynamic ones over, but it allows you to accomplish what you want without having to manage two seperate installations, while offering the same privacy protection.
In the example I used my own "xXx\" pathname setup, but you can of course use your own pathname setup, or rely on other attributes, such as 'Genre'. In the event you will use 'Genre', be aware that if an adult movie is scraped by another scraper (say imdb one, due to priority ranking) and it does not get set to that 'X' genre you expect it to be, that it might still end up getting shown. In that case you should do the opposite and make the parental filter match all the other genre ratings, such as G, PG, PG-13, etc.
Hey RoChess, I really want to try out your script but I want to keep my porn separate from my main movie db. Is it possible to setup a second instance of moving pictures and set up a separate db/scraper? Thanks so much for your help and your fine work!
You could manually setup two different MediaPortal installations, so that each can have their own MovingPictures database, but this is very cumbersome.
What you might want to consider instead is to make use of the parental filtering options that are available. You would add a filter that for example reads "Full pathname" => "does not contain" => "xXx\". This means that when you start up MovingPictures the orange lock will show in top left corner (on B3W skin), to indicate that you are viewing the filtered list (safe for kids, etc). By then entering your PIN code, every movie is shown.
You could then even take it a step further by creating a seperate category that you name "Adult movies" which you assing with the filter "Full pathname" => "contains" => "xXx\", so that it will show them all together. Of course since this scraper adds all the adult movies properly with the 'X' genre, you can simply use the existing dynamic 'Genre' category to get to the collection quick as well. But you could edit other existing categories to exclude the adult movies as well.
For example I got the standard recently added filter excluding adult movies as well. That way if I got friends over and forgot I got parental filter still off, that I don't have adult movies show up in other generic filters such as 'Recently Added', or 'All Movies', etc, unless I specifically navigate to the dynamic Genre for adult movies.
This does mean you have to add the exclude rule to every static category entry you have and in worst case convert dynamic ones over, but it allows you to accomplish what you want without having to manage two seperate installations, while offering the same privacy protection.
In the example I used my own "xXx\" pathname setup, but you can of course use your own pathname setup, or rely on other attributes, such as 'Genre'. In the event you will use 'Genre', be aware that if an adult movie is scraped by another scraper (say imdb one, due to priority ranking) and it does not get set to that 'X' genre you expect it to be, that it might still end up getting shown. In that case you should do the opposite and make the parental filter match all the other genre ratings, such as G, PG, PG-13, etc.