AnalogKid Wrote:Any media on a local drive would be online, anything on a DVD drive / removable drive would be offline, and anything on a Server drive / SMB would be potentially offline. Having ListItem.isOffline as a boolean would be fine (I think)..
DVD drive / USB drive media can also be online if it's currently present in system (correct disc already inserted) Status should be dynamically reflected by a check, but I don't like it, because it could wake up drives/network shares in sleep mode etc.
Exposing source types and names much make more sense on the other hand.
Movie1 - DVD - dvd_movies01
Movie2 - SMB - nas_share_xxx
Movie3 - HDD - movies
Movie4 - USB - movies_archive_01
Movie5 - HTTP - WebServer1
etc..
I know it looks more complicated, but if source type is exposed to skin, skinner can choose which source would be offline/online by himself or use source type+source name directly.
I don't think xbmc should decide itself what is online/offline either by some predefined rules which might not reflect current situation or by checking real status upon browsing because it could slow things down, unless implemented some smart method.
I still have no clue what's online/offline status good for, before you actually select something to play, so someone please tell me.