I'm trying to get daily episodes of Democracy Now loaded into Airtime 1.9.5 running on Ubuntu desktop 10.04. A podget cron job downloads the files to ~/DemocracyNow, and I'm trying to add the media to the library with the airtime-import script. I tried: $ airtime-import --watch-add /home/soundfm/DemocracyNow and got this error: Adding a watched folder failed: '/home/soundfm/DemocracyNow' is not a valid directory. I can't add any directory in ~/ Should the directory be in a special path? Did I do something wrong with permissions? Is this a bug? The same error was mentioned here: http://forum.sourcefabric.org/discussion/12731/media-monitor-and-sftp-uploads-problem/p1
If this is a 1.9 bug, we're planning on upgrading to Airtime 2 soon anyway.
Thanks! Peter
Post edited by Peter Higdon at 2012-04-03 16:10:34
Hmm, we need more comprehensive error messages for situations like this. I looked through the source to see how this could happen. One of the reasons this error can happen is that the directory you're trying to watch already has its parent/ancestor directory being watched. Is this the case?
I had a similar problem with 2.0.1, Peter. To get it to work, I had to change the owner and group of the directory to www-data and then restart the media monitor service (sudo service airtime-media-monitor restart).
I know this is an old thread but I'm getting the same issue here on 2.2.0
Have been through all of the above
/media/Box/ works fine /media/Box/Music/ doesn't work /media/Box/Music/70s/ doesn't work.
Any suggestions? My music library is accessed via various pieces of software so I really don't want to have to start moving everything around (just because I don't want AirTime to access the entire /Music/ directory)