from resources.lib.mediaitem import MediaItem # Create a MediaItem for a movie movie_item = MediaItem( title="The Dark Knight", plot="Batman battles the Joker in Gotham City.", video_url="http://example.com/the-dark-knight.mp4", poster_url="http://example.com/the-dark-knight-poster.jpg" ) # Output the movie's title and plot print(movie_item.title) print(movie_item.plot) # Create a MediaItem for a TV show episode episode_item = MediaItem( title="Breaking Bad - Pilot", plot="A high school chemistry teacher turns to cooking meth after being diagnosed with cancer.", video_url="http://example.com/breaking-bad-s01e01.mp4", poster_url="http://example.com/breaking-bad-poster.jpg", season_number=1, episode_number=1 ) # Output the episode's season and episode number print("Season {} Episode {}".format(episode_item.season_number, episode_item.episode_number))From the use of the `resources` and `mediaitem` modules, it can be determined that this is a Kodi package item.