I'm new to Drupal, and the regular newbie baggage applies... I'm a geek, but have only played with Drupal for a few weeks, please pardon my probably incorrect use of terms, etc.
I cannot force FileField Podcaster to recognize private files path (/system/files/) for the ENCLOSURE link; It seems to default to the system path, in my case: http://mikewren.com/sites/default/files/podcast/newbienet2008-05-18_0.mp3
I tried making files public, to no avail. I tried adding the following to settings.php without success:
$conf = array(
'swftools_media_url' => 'http://mikewren.com/system/files/podcast', // No trailing slashes!
);
Also, the 1pixel player can't seem to see the local media files either, I'm not sure if it's related to the path issue also.
Here's an example URL: http://mikewren.com/node/97
With so many modules having dependancies, it's hard to track down where the issue is occurring, in FFPC, Views, Content Type, etc.
I'm out of ideas, and not sure how to proceed in my troubleshooting. Thanks for your efforts, I feel like I'm so close to the endzone here...
Comment | File | Size | Author |
---|---|---|---|
#1 | ffpc_private_files.patch.txt | 1.24 KB | grendzy |
Comments
Comment #1
grendzy CreditAttribution: grendzy commentedIt's necessary to call file_create_url() in order to support sites with private filesystems.
A patch is attached.
Comment #2
mikewren CreditAttribution: mikewren commentedFantastic, thank you so much! Swapped out those two lines and the Feed now lists the private filesystem URL as expected. I Hope these changes make it into the official release.
Comment #3
mfer CreditAttribution: mfer commentedThis is on my plate to handle. I'm looking at fixing an issue with the guid for those coming from the audio module.
Comment #4
mfer CreditAttribution: mfer commentedThis has been committed to head. Please test and let me know if there are any issues.
Comment #5
mfer CreditAttribution: mfer commentedComment #7
mattman CreditAttribution: mattman commentedYou also need to adjust the url for the enclosure tag as well.
starting at about line 85 in HEAD
Currently...
should be...
Enclosures offer the raw url when file system is set to private.
This will bypass any modules which use hook_file_download().
If the web server has been set to restrict access (which mine has) to the /files folder directly, then no files are transferred because of the bypass of file.inc's creation of the correct file url path.
Comment #8
mfer CreditAttribution: mfer commentedThis is a duplicate issue. I think this is the original issue to post it but I am not tracking it elsewhere. Thanks for posting to this issue and pointing it out. It should be fixed in the development branch in the next few days.