Recursive scanning of the watched folders???
  • By default only the top level directory of the watched folder is imported to the library.

    Is there a way to enable recursive scanning of the watched folder???
  • 2 Comments sorted by
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Recursive scanning is the only option. If the directory is not being scanned recursively, something is wrong.  Check your media monitor log file for errors (issue command: "airtime-log -v media-monitor") and if you see any please post the log file.
  • 2012-02-07 11:11:58,544 INFO - [MainThread] [airtimenotifier.py : init_rabbit_mq()] : LINE 38 - Initializing RabbitMQ stuff
    2012-02-07 11:11:58,556 DEBUG - [MainThread] [connection.py : _start()] : LINE 661 - Start from server, version: 8.0, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2011 VMware, Inc.', u'capabilities': {}, u'platform': u'Erlang/OTP', u'version': u'2.5.0'}, mechanisms: [u'PLAIN', u'AMQPLAIN'], locales: [u'en_US']
    2012-02-07 11:11:58,557 DEBUG - [MainThread] [connection.py : _open_ok()] : LINE 507 - Open OK! known_hosts []
    2012-02-07 11:11:58,557 DEBUG - [MainThread] [channel.py : __init__()] : LINE 70 - using channel_id: 1
    2012-02-07 11:11:58,557 DEBUG - [MainThread] [channel.py : _open_ok()] : LINE 484 - Channel open
    2012-02-07 11:11:58,560 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 79 - Added watch to /media/Storage/Musick/Uploads/
    2012-02-07 11:11:58,560 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 80 - wdd result 1
    2012-02-07 11:11:58,566 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 95 - Exception: 'ascii' codec can't decode byte 0xc2 in position 33: ordinal not in range(128)
    2012-02-07 11:11:58,574 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 96 - traceback: Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/MediaMonitor.py", line 83, in <module>
        wdd = notifier.watch_directory(dir)
      File "/usr/lib/airtime/media-monitor/airtimefilemonitor/airtimenotifier.py", line 184, in watch_directory
        return self.wm.add_watch(directory, self.mask, rec=True, auto_add=True)
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/pyinotify.py", line 1887, in add_watch
        for rpath in self.__walk_rec(apath, rec):
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/pyinotify.py", line 2075, in __walk_rec
        for root, dirs, files in os.walk(top):
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/os.py", line 284, in walk
        if isdir(join(top, name)):
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/posixpath.py", line 68, in join
        path +=  b
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 33: ordinal not in range(128)




    There seems to be a track with greek filename... causing the chaos...
    It's working now that i removed the track...
    I read about a fix for that somewhere... let me see...