Im new with airtime and im having a problem after what apparently was a no error install...
Im using a openvz vps with ubuntu 10.04 as a guest and the problem is that wen i try to ad a media file, the file doesnt show up in the playlist builder
all it says is "No data available in table"
The mp3 files were store in /srv/airtime/stor/organize/
and are owned by ww-data
I dont know where to look :/ i was cheking folder permissions and they looks fine..
Again, my setup is this one:
Openvz VPS 512 Ram
Ubuntu 10.04
Airtime 1.9.4
Icecast on same server
I'll really appreciated if anybody give me a hand here...
thanks.
Post edited by Amauri Berroa at 2011-11-11 07:36:57
You guys wont believe this... Earlier, i was truly having problems showing the media on the playlist builder.
If you read back I told that after my 4th install there was a new error, I wasn't able to upload the files at all.
That wasn't true! It was my fault, I completely forgot to hit the start upload after +Add files, it was like i was waiting for airtime to do it on the fly..
so now that i wake up feeling to give another try to airtime, this time i did get notice of the button and the file uploaded and it is on the playlist builder. :)
I don't know which one of these modification made the trick, but it is worth to give a try
The first item is definitely the cause of the fix. The second item isn't related to your problem in this case
LINE 92 - Exception: name 'multi_queue' is not defined - this is caused when you are on a hosting environment like Amazon S3, and shared memory between processes is disabled by default.
I'd actually recommend undoing the " # -*- coding: utf-8 -*-" change, because now you are running a custom version of Airtime, and any problems you experience in the future may not be reproducible by us.
Hi guys, I am having the same problem. I can upload files to server and they all appear in /srv/airtime/stor/imported . However, none of them are added to the library.
I've added the line to /etc/fstab and I even tried with the extra line in media_monitor.py , but still nothing. When I restart RabbitMQ. I can see in the logs file that it finds all my files. In fact, every time I upload an mp3, I get this on the media-monitor.log
2013-07-13 01:01:16,869 INFO - [Thread-1] [owners.py : get_owner()] : LINE 12 - Received owner for /srv/airtime/stor/imported/2/Mana/Mana/1-Robot-128kbps.mp3. Owner: 2 2013-07-13 01:01:16,870 INFO - [Thread-1] [events.py : __init__()] : LINE 93 - matched path: /srv/airtime/stor/imported/2/Mana/Mana/1-Robot-128kbps.mp3 2013-07-13 01:01:16,870 INFO - [Thread-1] [watchersyncer.py : handle()] : LINE 65 - Received event 'NewFile'. Path: '/srv/airtime/stor/imported/2/Mana/Mana/1-Robot-128kbps.mp3' 2013-07-13 01:01:16,870 INFO - [Thread-1] [watchersyncer.py : push_queue()] : LINE 97 - Added event into queue 2013-07-13 01:01:19,731 INFO - [Thread-3] [watchersyncer.py : run()] : LINE 39 - We have 1 events that are unflushed 2013-07-13 01:01:19,732 INFO - [Thread-3] [watchersyncer.py : flush_events()] : LINE 107 - Force flushing events... 2013-07-13 01:01:19,732 INFO - [Thread-3] [watchersyncer.py : push_request()] : LINE 146 - WatchSyncer : Unleashing request 2013-07-13 01:01:19,732 INFO - [Thread-8] [request.py : run_request()] : LINE 34 - Attempting request with 1 items. 2013-07-13 01:01:19,739 INFO - [Thread-8] [api_client.py : send_media_monitor_requests()] : LINE 299 - Pumping out 1 requests... 2013-07-13 01:01:20,352 INFO - [Thread-8] [request.py : run_request()] : LINE 54 - Request was successful
It seems like everything is OK, but my media library is empty. One particular thing I've noticed: using the console, if I cd into any dir with spaces in its name (say "Amy Winehouse"), I get this message:
root@airtime imported/2# cd Amy\ Winehouse/ dirname: extra operand `Winehouse' Try `dirname --help' for more information. dirname: missing operand Try `dirname --help' for more information. -bash: [: =: unary operator expected
Maybe that's a clue for you guys. For me it's like chinese :D