Jump to:
| Project: | Station |
| Version: | 6.x-2.0-beta4 |
| Component: | Archive |
| Category: | support request |
| Priority: | normal |
| Assigned: | wickedradio |
| Status: | active |
Issue Summary
streamripper rips the stream just fine and places files in proper location but when i run cron to import the audio i get this in the status report:
The selected file /var/www/wikd could not be copied.
warning: Attempt to assign property of non-object in /var/www/wikd/sites/all/modules/audio/audio.module on line 541.
warning: Attempt to assign property of non-object in /var/www/wikd/sites/all/modules/audio/audio.module on line 542.
warning: Attempt to assign property of non-object in /var/www/wikd/sites/all/modules/audio/audio.module on line 543.
The following errors were encountered, preventing the ID3 tags from being saved:
filename is undefined in getid3_writetags
Am I missing a step somewhere?
it also does add the audio to the audio section but the mp3 is not playable with the audio module no matter what bitrate i use.
Comments
#1
Without looking at the code, it sounds like a permissions issue. Can you verify that the proper directories and files have the correct permissions?
#2
yes all permission are correct the webserver has read/write permissions for all aspects of drupal and its filesystem.
#3
I am not sure if this has something to do with the issue. I am running cron as root instead of www-data. I will attempt to run cron as the web server and see if the problem continues. I figured that if it is running as root the permission will be for root when the mp3 is created. I will report back asap.
#4
Problem still persists when testing ripper.php as web server user account. I still get the following error
The selected file /var/www/wikd could not be copied.
warning: Attempt to assign property of non-object in /var/www/wikd/sites/all/modules/audio/audio.module on line 541.
warning: Attempt to assign property of non-object in /var/www/wikd/sites/all/modules/audio/audio.module on line 542.
warning: Attempt to assign property of non-object in /var/www/wikd/sites/all/modules/audio/audio.module on line 543.
The following errors were encountered, preventing the ID3 tags from being saved:
filename is undefined in getid3_writetags
If you require more information or even ssh access to look at my setup let me know so we can resolve this in case other people are also having this problem with the archiver. I would very much like to use archiving for people that cannot locally record their podcast that airs on my radio station stream. I have the latest getid3 module and library. I am not sure what it means in the first line of the error as nothing seems to point directly to /var/www/wikd which is the root of the Drupal system. And thanks for having a quick response this is one of my more favorite modules to use.