I have experimented with this over the last few years.
I am also importing Media into the server in order to create virtual channels.
I currently have 3 imports:
Old CDVR shows/movies that got orphaned when updating/changing hardware...Would like these to continue to be viewable
Media Server Movies...Would like to be hidden (Used to create Virtual Channels)
Media Server TVShows...Would like to be hidden (Used to create Virtual Channels)
I understand that this can be accomplished manually in the library but it is very difficult to use since you can't pick the individual import locations separately. Especially since there are well over a thousand entries.
Also it is an issue because new content from the imports are marked as viewable.
I am wondering if there is a way to run an api script/request that would allow me to update all programs located at say..."Pool/Media/Movies" to be hidden.
Another even better option would be if on the source page there was a drop down that would allow all content to be automatically put in one of the groups (Library/Kids/Hidden) during import/scan.
I am experimenting with the ErsatzTV/Dizquetv options. IMO...they are more complicated than I want to deal with when CDVR already does a fantasic job with the Virtual channels.