RasPod
RasPod copied to clipboard
resync songs actually does not work
After the server started, if I add new media files(mp3) into media folder, then I click the resync songs button, the new added songs does not appear in the UI. I need to stop and restart the server.
I am using a raspbery and installed your app as the home media player, let it running 24*7. I can access the UI from any device(PC, phone, TV) in the wifi network. I want to push mp3 from any device into the media files. without stop and restart the raspod, I want the new added songs can be show in the UI after click the resync songs.
finially I made a fix in the server.py by added a line of code at the get method of class MainHandler.
class MainHandler(tornado.web.RequestHandler):
def initialize(self):
self.loader = tornado.template.Loader(settings.TEMPLATE_FOLDER)
def get(self, playlist=None):
**media = Media()**
.....