Example #1
0
 def post(self):
     values = {'localpath': self.localpath,
               'remotepath': self.remotepath,
               'skip': 1,
               'server': SERVER_NAME,
               }
     postData(values, MEDIAVIEWER_PATH_URL)
Example #2
0
def main():
    tvRunner = TvRunner()
    tvRunner.run()

    movieRunner = MovieRunner()
    movieRunner.run()

    postData({}, MEDIAVIEWER_INFER_SCRAPERS_URL)
Example #3
0
 def post(self):
     values = {
         "pathid": self.pathid,
         "filename": self.filename,
         "skip": 1,
         "size": self.size,
         "finished": 1,
         "streamable": self.streamable,
     }
     postData(values, MEDIAVIEWER_FILE_URL)
Example #4
0
 def _postMovie(self, name):
     values = {"pathid": MOVIE_PATH_ID, "filename": name, "skip": 1, "size": 0, "finished": 1, "streamable": True}
     postData(values, MEDIAVIEWER_MOVIE_URL)