Everything works great untill you try to subscribe to to the podcast.
Something seems to be wrong with the paths that are created in the rss#.xml file.
http://www.pratt.edu/moodle/mod/podcast/media///Pratt_Video/PrattVideo.mp4
As you can see the paths have /// when it should have folder names:
any ideas where I can fix this?
thanks
Pete
Try with this file.
Say me if it works.
Raphael
This is an awesome plugin, but I am having the exact same problem as Peter. I am getting the /// instead of the correct path. I tried the new lib.php file but it still didn't work. Has anyone figured this out yet. I am using Moodle 1.7+
Thanks for any help
Terence
I've just joined this thread, installed the Podcast module and it was so easy...but I'm getting the /// instead of the correct path as well. I can listen to my audio from within my Moodle install but when I try to add the rss to iTunes I get an error with a path that has the three ///
Any help will be appreciated.
Jason
i think that the problem is make_xml but i don't know like resolving it. thx
I see some very nice replies here but none seem to address the /// path issue (unless I don't know what I'm reading which is possible )
I'm using Moodle 1.8 and the Podcast mod works fine from within Moodle but when I try to access via iTunes etc. I get an error with a path that has three slashes in it /// when I check the location of the actual file that I am able to listen to from within Moodle, that is not the correct path.
Seems like there is probably an easy fix for this but unfortunately I don't even know where to start
Jason
P.S. Should I download the newest version posted here in this thread? Or is that a fix for a different issue?
"Could not find or create a directory var/www/mod/podcast/media/1
The site administrator needs to fix the file permissions"
when I try to upload an audio file (before I can even select the file)
Since this is within my Moodle root shouldn't Moodle already have 'permission' to create directories?
Any help will be greatly appreciated
Jason
This forum post has been removed
Is this module supported in 1.91? I installed it but when I try to add a pocast and upload the file it just sits there and does not upload.
WHen I turn on error reporting I get
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/moodle/public_html/moodle/mod/podcast/config.html on line 3
Warning: require_once(http://www.mysite.org/moodle/mod/podcast/lib.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/moodle/public_html/moodle/mod/podcast/config.html on line 3
Fatal error: require_once() [function.require]: Failed opening required 'http://www.mysite.org/moodle/mod/podcast/lib.php' (include_path='/home/moodle/public_html/moodle/lib/pear:.:/usr/lib/php:/usr/local/lib/php') in /home/moodle/public_html/moodle/mod/podcast/config.html on
I may have fixed IT guy was working in root when I was working on podcast mod.
even though file appears it will not play error reporting says;
Notice: Undefined property: stdClass::$action in /home/moodle/public_html/moodle/mod/podcast/view.php on line 72
Notice: Undefined property: stdClass::$action in /home/moodle/public_html/moodle/mod/podcast/view.php on line 126
Notice: Undefined variable: currenttab in /home/moodle/public_html/moodle/mod/podcast/view.php on line 207
when I go to upload it says the same thing
at add an item it says
/home/moodle/public_html/moodle/mod/podcast/lib.php on line 124
Notice: Trying to get property of non-object in /home/moodle/public_html/moodle/mod/podcast/lib.php
Notice: Undefined property: stdClass::$podcast_extensions in /home/moodle/public_html/moodle/mod/podcast/lib.php on line 444
then after adding an item from the class files folder it says:
Choose a type file :
Notice: Undefined property: stdClass::$podcast_extensions in /home/moodle/public_html/moodle/mod/podcast/lib.php on line 444
avi, mov, movie, m3u, mp3, mp4, m4v, mpeg, mpe, mpg, m4a, qt, wmv, asf
Notice: Undefined variable: currenttab in /home/moodle/public_html/moodle/mod/podcast/view.php on line 207
-Chris
Is there anyway we can move the video size out of the admin area so that we can change the size per video.
Thanks
Mark
How do you think your module compares to ipodcast-v37b3?
I will be trying both of these modules myself but would be interested to hear your thoughts on the matter.
Jeremy
This forum post has been removed
Which file you want change ?
What you want to do ?
Maybe i can help you
Raphael
This forum post has been removed
Looking at my files for 1.6.3 and 1.6.5
/files/index.php looks like this
However I'm not running this extension so use with caution!
Hope this helps ...
>>>>
<?php // $Id: index.php,v 1.86.4.1 2007/03/25 14:49:07 moodler Exp $
// Manage all uploaded files in a course file area
// All the Moodle-specific stuff is in this top section
// Configuration and access control occurs here.
// Must define: USER, basedir, baseweb, html_header and html_footer
// USER is a persistent variable using sessions
require('../config.php');
require($CFG->libdir.'/filelib.php');
$id = required_param('id', PARAM_INT);
$file = optional_param('file', '', PARAM_PATH);
$wdir = optional_param('wdir', '', PARAM_PATH);
$action = optional_param('action', '', PARAM_ACTION);
$name = optional_param('name', '', PARAM_FILE);
$oldname = optional_param('oldname', '', PARAM_FILE);
$choose = optional_param('choose', '', PARAM_FILE); //in fact it is always 'formname.inputname'
$userfile= optional_param('userfile','',PARAM_FILE);
$save = optional_param('save', 0, PARAM_BOOL);
$text = optional_param('text', '', PARAM_RAW);
$confirm = optional_param('confirm', 0, PARAM_BOOL);
if ($choose) {
if (count(explode('.', $choose)) != 2) {
error('Incorrect format for choose parameter');
}
}
if (! $course = get_record("course", "id", $id) ) {
error("That's an invalid course id");
}
require_login($course->id);
if (! isteacheredit($course->id) ) {
error("You need to be a teacher with editing privileges");
}
function html_footer() {
global $course, $choose;
echo '</td></tr></table>';
print_footer($course);
}
function html_header($course, $wdir, $formfield=""){
*51* // global $CFG, $ME, $choose;
if (! $site = get_site()) {
error("Invalid site!");
}
if ($course->id == $site->id) {
$strfiles = get_string("sitefiles");
} else {
$strfiles = get_string("files");
}
In the file files/index.php :
Comment the line
require_capability('moodle/course:managefiles', get_context_instance(CONTEXT_COURSE, $course->id));
In the first part of the file.
Maybe you can replace by :
if (! isteacheredit($course->id) ) {
error("You need to be a teacher with editing privileges");
}
This forum post has been removed
This forum post has been removed
This forum post has been removed
The biggest reason (I assume) for not using the moodledata folder is to make the podcast files globally available outside of moodle.
Files in moodledata are locked down by moodle and are not available unles logged in
So you need change permissions of media-folder and publication-folder.
But i search a way to fix it .
Raphael
I don't think a user needs to be logged in to access discussion rss feeds, and they use file.php (e.g. http://blah.blah/..stuff../file.php/..blah../rss.xml). I deduce therefore that it should be possible for your podcast activity to store files in moodledata and use file.php or a similar mechanism to explose all the relevent files to 'the web' (podcast readers etc).
Unfortunately this sort of change has been identified as a 'requirement' by my server-side friends before this activity can be installed on our institution's Moodle, because (1) the moodledata folder is the right way to do things, and (2) because of the current design the podcast file aren't being backed up with the rest of the course.
I do want our e-learning developers to make the required alteration, I don't know if it will be considered a good use of their time, and obviouslly it's a lot easier (for me, so selfish of me!!) if you the author of the activity made the change .
To change tack slightly, myself and a colleague have made a few tweaks (very minor) to the latest version of your activity to (in our opinion) improve it. I am happy to communicate these changes back to your for you to take a look at if you let me know how best to do that (I'm new here, so I hope I can get away with not knowing the right way to do things).
otherwise ...
great activity, I really like it, thank you very much for your hard work!
Is there anyway we can change the name of the Activity to something like 'Simple podcast' as we already have ipodcast installed and I want to try this one as well.
Thanks
I was installing it on the 1.8, there was always one notice pop out that"/home/cherrych/public_html/mod/__MACOSX/version.php is not readable - check permissions" after I do everything according to the instruction, and click the "notification". Then I opened the version.php,found there was one sentence in French, so I modified it and uploaded, activate the "Notification", then it said O.K., but then changed to the admin.php page or main page, the whole page is blank except the title, even after I deleted it right, this status keeps on, what should I do now, reinstall the moodle?
It will be a horrible work to reload the moodle, oh, Jesus, God save me!
Ahhh, this is easy.
There is not meant to be a _MACOSX folder. It is generated when OSX users create archives.
just delete the _MACOSX folder from your moodle. It is not needed and does nothing. Should put things back to normal
Have someone this podcast mod running well in Moodle version 1.8?
Mine is running quite happily in 1.8
Julian
I have one piece of feedback. I love this module so far. Simple, clean and easy to use.
I experimented today with adding a mov file and in iTunes it played perfectly (woohoo, video podcasts ahoy) but it did not display the file inside moodle.
I see you got the media filter integrated to play mp3 files. Could this be extended to video media as well?
Julian
Some of settings in the language file for English are missing. I have changed some of them but I can't work all of them out.
podcast_directory : | |
writable_directory_publication writable_directory_media |
Keywords(seprated by commas) : extension_empty |
|
setextensions |
Size of video : | |
Width: px Height: px |
any more updates, thanks...
sorry that
Raphael
In this case, i can make modification.
Raphael
It does have a flash player for flv video. Otherwise it uses the standard embeds needed for mov, wmv, avi, etc.
This is typically done by the media filter
Hi,
Thank you for this module... Much appreciated.
When I go to Browse after adding a new podcast, I get this error message
Fatal error: Call to undefined function require_capability() in C:\AppServ\www\moodle\mod\podcast\files\index.php on line 38
Thanx
A
In this case, you have to delete this line.
Raphael
Hi.
Here it is the Spanish translation (UTF8)
Regards.
Jesús Martín
Raphael
podcast
(mysql): CREATE TABLE mdl_podcast ( `id` int(10) unsigned NOT NULL auto_increment, `course` int(10) unsigned NOT NULL default '0', `userid` int(10) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL default '', `author` varchar(255) NULL default '', `intro` text NULL default '', `owner` varchar(255) NULL default '', `owner_email` varchar(255) NULL default '', `copyright` varchar(255) NULL default '', `lang` varchar(2) NULL default '', `pubdate` varchar(255) NULL default '', `image_url` varchar(255) NULL default '', `image_img` varchar(255) NULL default '', `category` varchar(255) NULL default '', `timemodified` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`)) COMMENT='Podcast activity'
1101: BLOB/TEXT column 'intro' can't have a default value
(mysql): CREATE TABLE mdl_podcast_structure ( `id` int(10) unsigned NOT NULL auto_increment, `id_podcast` int(10) NOT NULL, `title` varchar(255) NULL default '', `lien` varchar(255) NULL default '', `intro` text NULL default '', `pubdate` varchar(255) NULL default '', `date_html` varchar(255) NULL default '', `duration` varchar(10) NULL default '', `length` int(10) NULL, PRIMARY KEY (`id`)) COMMENT='Podcast items'
1101: BLOB/TEXT column 'intro' can't have a default value
If you can, try with this new version, normaly i have fix your problem.
Raphael
fabricioboechat@gmail.com
2. Go to administration and click to Notification.
3. Go in a course and you will see in the list of activities the podcast.
If is not workink, tell me more about yours problems
Raphael
Hi! I have a problem with new beta version (beta2). The module install was ok but I have this message:
Configuration | ||
Verification of permissions on folders 'media' and 'publication' : | Permissions of folder 'publication' are not OK, set permissions to 755. Permissions of folder 'media' are OK. |
|
Limit extensions : (Empty for no restriction) |
Separated by commas (Example: mov, m4v, mp3) |
Please! Were is the 'publication' folder? Thanks. Mayrton Bahia
If anyone (not just Raphael) has any idea how to fix the permission error problem, I would be very thankful for your input
Jason
WONDERFUL!!! FABULOUS AMAZING Thank you VERY much. I've been really really wanting to get this working for the past ten days or so and haven't had any luck.
I checked the permissions on both the "media" folder and "publications" folder but they were both correct.
Then I saw your post about downloading from a different link so I tried it and BAM!!! It works. I don't know what what was wrong with the first one (the one that I downloaded from the link found in the 'Modules and Plugins' link on the front page of Moodle) but it wasn't working.
Yeah!!! I'm ready to get our Podcasts going.
Thanks.
Jason
Everything works ok until you try to browse and upload a file to the module.
Is it because we are using Moodle 1.6 and not 1.7?
We get this error
Fatal error: Call to undefined function require_capability() in d:\website\www\mod\podcast\files\index.php on line 36
Thanks
I'm sorry to be a pest but do you have any information on the permissions error that has been brought up here multiple times in this thread? I had installed the first version of your mod and it looked great and worked from within Moodle but I got the path error with three slashes /// so I couldn't view it through iTunes.
Then I updated to the newer version and now I can't even add a podcast because I get a permissions error. I've searched and tried various things but I can't manage to figure it out and I would REALLY like to use this mod.
Your assistance will truly be appreciated.
Jason
1. In Admin >>Modules>> Podcast [admin/module.php?module=podcast]
No settings appear when I click 'settings':
Just blank under this
2. When I add a podcast it appears in the course and will play - but I get this error:
I have got RSS feeds enabled in Admin.
Can anyone advise?
Can anyone tell me (spot the podcast novice) - how does the podcast get published so that students can take it as a feed that updates?
[my podcasts are here - top topic:
https://vle.oakham.rutland.sch.uk/course/view.php?id=20]
Many thanks
Alick
Thanks a million! I checked the "media" folder permissions (755 right?) but not the "publications" folder. I'll give that a try later today and keep my fingers crossed.
Thanks again.
Jason
I think the file publication/id_course/rss.xml is not created,
check if permissions are to 0755 for folders media and publication.
For the settings, i don't know ... sorry.
Good luck
Raphael
Now that I got the Podcast working (Yeah! ) I'm wondering what I need to do to change the "Toulouse University" logo to my own? I don't have anything against Toulouse, actually I visited Toulouse a couple of years ago to see the Tour de France
Just wanted to put the logo of my university there if possible.
I see the image file in the Podcast folder and if I open it up it says "Put your logo here". If I replace that image will the replaced image show up when I create a new podcast or is there a little more I need to do.
Thanks in advance to anyone who can steer me in the correct direction.
Jason
Just replace the img.jpg with one of your own and off you go.
I would recommend keeping the same dimensions however.
Thanks. I should have figured as much. After getting it all working, and after posting my last post, I cleared my cache on my browser and refreshed and now get the "Place your image here" message instead of the Toulouse University image. Not sure exactly what took place there.....I guess the latest version got rid of the old logo and I just hadn't cleared my cache yet....?
Anyway, I'm headed in the right direction.
Thanks again
Jason
P.S. Loving your theme (clouds)! Having a very small problem with it but I'll go over to that discussion thread and see if I can figure it out there.
So I'll just to write out the solution that worked out for me:
1) Change the permissions for the following directories within MOODLE_ROOT/mod/podcast/
publication from 755 to 777
Podcast Updated
XML update OK
message
Hope these helps!
Also, if I use this to podcast class lectures everyday, will this page eventually really bog down due to how many movies I put on there?
Not getting any Admin Settings, just empty grey box.
Can upload podcasts but they do not play. Player graphic is there.
Moodle 1.9.7
Is it compatible?
This has been years but I have run into the same problem. Was wondering if you got this working?
here is Italian translation too (UTF-8),
Thanks for you mod.
Carlo.
P.S. I think that would be great having wysiwyg editor on "Description" field?
Thank you for this translation.
I have a problem to put wysiwyg in the description field, but if i find a solution, i will update it.
Have a good day.
Raphael
Hi
I have installed the postcast "módulo" in my Moodle, 1.8 version. But when I uppeloaded an MP3 file, this message showed up:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/restricted/home/eadconsultoria:/tmp:/usr/share/pear) in /home/restricted/home/eadconsultoria/public_html/moodle/mod/podcast/files/uploadlib.php on line 323
Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/restricted/home/eadconsultoria:/tmp:/usr/share/pear) in /home/restricted/home/eadconsultoria/public_html/moodle/mod/podcast/files/uploadlib.php on line 324
ERROR: Could not find or create a directory (/)
Then I will put the message with the error.
Thanks
Just to update. the problem was: there was no podcast dir on my template folder. i justed added the folder and icon.gif to templates/actualtemplate/pix/mod/podcast/icon.gif.
Maybe i just forgot to read a line of the instructions.
If you leave custompix on, then each time you install a module you will need to also copy its icon into your theme as you just did.
Julian
Has anybody got this working with mssql
Tried to modify database, but "/var/www/html/markmoodle/mod/podcast/db/mssql_n.sql" doesn't exist!
I needed to create these two files in the mod/podcast/db directory to get this to work on MSSQL. (See attached). Then hit your moodle/admin/ url as per normal to install.
Cheers,
Andrew
I got no admin interface and I can not upload media.
What can I do to see the admin interface?
Where are the paths for upload dir set? I guess in the admin interface.
podcast tried to ubload to the upper root of the server ( and this looks very much like "path not set")
If I get this running, I will post my german lang file immidiately.
greetings from Munich
What is your Moodle version ?
Normaly, if you can edit the course, you can access to the admin part,
it's just a tab "Add item".
Have a good day
Raphael
I solved it: I used .htacess to prevent visits during the testing period.
podcast was the first module, that made trouble.
After I removed the access controll via .htaccess, podcast is working normal.
Now I can use the admin interface.
But there is no chance to chance pathes.
I still get this error, when I upload:
ERROR: Could not find or create a directory (/is/)
I red most of the forum but they all have other problems.
the /is/ is part of the root-path, but only the first 4 char.
I use PHP 5.2.3, and there changed some with the global vars - I was told.
Notice: Undefined property: stdClass::$action in /is/htdocs/......./moodle/mod/podcast/view.php on line 68
Notice: Undefined property: stdClass::$action in /is/htdocs/......./moodle/mod/podcast/view.php on line 122
Notice: Undefined variable: currenttab in /is/htdocs/......./moodle/mod/podcast/view.php on line 203
an when I tried to add some :
Notice: Undefined variable: item in /is/htdocs/..../moodle/mod/podcast/lib.php on line 98
Notice: Trying to get property of non-object in /is/htdocs/..../moodle/mod/podcast/lib.php on line 98
and while uploading:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/is) is not within the allowed path(s): (/tmp:/bin:/usr:/is/htdocs/....) in /is/htdocs/..../moodle/mod/podcast/files/uploadlib.php on line 323
Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/is) is not within the allowed path(s): (/tmp:/bin:/usr:/is/htdocs/....) in /is/htdocs/.../moodle/mod/podcast/files/uploadlib.php on line 324
and in the error log I found:
[Thu Jun 14 17:57:02 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/course/view.php?id=7 [Thu Jun 14 17:57:03 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/course/mod.php?update=43&sesskey=OkqH2GDQP3&sr=1 [Thu Jun 14 17:57:13 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/course/mod.php?update=43&sesskey=OkqH2GDQP3&sr=1 [Thu Jun 14 17:57:13 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/course/mod.php?update=43&sesskey=OkqH2GDQP3&sr=1 [Thu Jun 14 17:59:25 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/mod/podcast/view.php?id=43 [Thu Jun 14 17:59:28 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/mod/podcast/view.php?id=43&tab=add [Thu Jun 14 18:00:57 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/mod/podcast/view.php?id=43&tab=add [Thu Jun 14 18:01:00 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/mod/podcast/files/index.php?id=7&pod=1&choose=form.lien [Thu Jun 14 18:01:15 2007] [error] [client 82.141.49.206] ALERT - script tried to increase memory_limit to 100663296 bytes which is above the allowed value (attacker '82.141.49.206', file '/is/htdocs/***/moodle/lib/setuplib.php', line 65), referer: http://www.theater-interaktiv.net/UTILISE/moodle/mod/podcast/files/index.php?choose=form.lien&id=7&pod=1&wdir=%2F&action=uploadDoes this mean, the funktion tried do get 100 MB memory?
However, today the students asked why I wanted to sound like a chipmunk. Confused I watched as a student navigated to the podcast and played the media using Internet Explorer 7. Sure enough, I sound like a chipmunk.
The problem is not in the mp3 file since it plays correctly before uploading. It also plays correctly in Firefox 2.x or 3.x. It also plays correctly if subscribed to with iTunes and then played back on a computer or an mp3 device. So ...
Why is it playing back at a faster rate when played in Internet Explorer?
Please help, students are forced to use IE within our school division so I can not tell them to "just use Firefox".
I am quite familiar with the process of installing modules in Moodle, but i'm unable to install this podcast module. After copying all the files in the mod directory, when i click on notifications, all i get is an empty page with these characters "  " , and the module doesn't appear in the activity list.
Any ideas why this happens ?
I've had to snoop around to get the truly latest version, which can be found at this page
http://moodle.org/mod/data/view.php?d=13&rid=745
Or download it straight from this page:
Following your advice I changed permission to both 'media' and 'publication' folders. Yet, I still get the "Could not find or create a directory (/)" error and I'm unable to upload podcasts.
Is there anything else I could do. Btw, I'm running a 1.8 Moodle.
Thanks.
I got the same problem
more details:
http://moodle.org/mod/forum/discuss.php?d=66016&parent=329642
Re: New activity module Podcast -> XML file does not get updated
For the most part, it works as expected, and I can get podcast files via iTunes.
The XML file is created correctly when I first create the Podcast activity.
The problem I have run into is that if I edit the podcast information (via the "Update this Podcast" button, the changed values (title, description, category, etc) are not written into the RSS XML file.
I'm new to podcasting, so I'm not sure if there is a reason for this behavior, or if it is an indication of a problem with my installation or a problem with the code.
(I know that I can manually edit the XML file, but I would prefer that the module just re-write it for me with the updated field values.)
bkg
Sorry! the correct question is:
I have installed Moodle 1.8 and Podcast v1.1beta, all is Ok with mp3 and video wmv files. But mov and mpeg video upload not play on "view podcast" tab and wmv video not play on iTunes. Mov and mpeg videos playng on file repository Moodle but not on podcast upload repository.Someone can help me? Thanks, Mayrton Bahia
Hopefully the developer will add it someday. As you have noticed, it does work when sent out to a podcasting app, just not inside moodle itself
I've clicked on notification (lots of times) and absolutely nothing happens.
I'm using Moodle 1.8.2+
I would welcome any suggestions.
Thanks
Gerry
Does anybody have a postgres7.sql file for this?
- Don Reiher
There is only the mysql.sql file for this, and no postgres7.sql file. Am I missing something? Is there some way of converting the mysql file to postres7 or else instructions for creating the tables by hand?
- Don
I have the latest version (from the google link above) installed on a 1.7.1 moodle installation and it is working fine.
I have been trying to change the word Catagorie where it appears on the page (in view.php) at the bottom.
Also the word "Subscribe" is spelt "Suscribe" in the en_UTF8/podcast.php file.
Can anybody point me to where the string is that displays the word catagorie: at the bottom of the page.?
Catagorie
Created By <<User Name goes here>>
thanks
John
If you haven't found this yet.... do a search in the lib.php file in the podcast module file, around line 440. I also corrected the "Suscribe" misspelling as you mentioned.
I am still trying to find where the "FR" is located on the page when you create a new podcast that is automatically filled in in the Language field. Would like to change it to "EN", but not sure it really matters.
Any thoughts there??
I definitely like this module a little better than the other podcast module we have been using as the iTunes RSS feed actually works now and it seems like it will be easier for teachers to use.
Thanks!
Vern
The current one is "buggy" at best for me...
I've added a request in Moodle Tracker (MDL-11246) to request some options for sorting the list of podcast entries.
You mentioned in the Issue Tracker that you had hacked the podcast module to sort by Title/Date. Would you mind sharing that hack, since it is still unresolved?
I need to sort by Title in one podcast, and by date in another, but either would be great. I can always change valued in the db to work with the sort hack.
That would be great! Thanks.
~Amanda Hefner
Amanda -
The change is almost trivial, but finding what to change was not...
In mod/podcast/lib/view.php, at around line 449 there is an if() statement that contains a foreach() loop:
if ($podcast_item = get_records("podcast_structure", "id_podcast", $podcast->id)) {
foreach($podcast_item as $item) {
// irrelevant code deleted
}
} else {
echo '<h3 style="font-style:italic;">'.get_string("no_item", "podcast").'</h2>';
}
I modified the call to get_records() in the if() statement to include an optional 4th argument: the database table field to sort on. (That field gets added to a "ORDER BY" clause in the SQL statement build by get_records().)
if ($podcast_item = get_records("podcast_structure", "id_podcast", $podcast->id, "title")) {
In my podcast activity, I want the displayed entries sorted by date, so my "title" field contains values such as: "2007-08-27 SSES Drumline" and "2007-09-27 College Admission Panel Discussion".
By altering the arrangement of information in your podcast titles, you can make the list sort as you want it.
Adding the date as you mentioned "2009-09-07" in front of the title ensures that the oldest stays near the top. I can make up numbers and keep the freshest at the top, but it only makes sense to stamp it with the date and I'd like to sort my podcast with the newest at the top. It's easier for my students to find the latest.
Thanks
If you change "title" to "title DESC", SQL will return the list of podcasts in reverse (descending) order. If you use the date as the first part of the podcast names, then they will be sorted in reverse chronological order.
Jon
P.S. Any thoughts on my play back speed issue in IE?
Then went to my Moodle site - directions in the readme say to click on Notifications and that's it. I did that - but nothing. I also checked under Modules and Plugins/Activities, but don't see it.
I don't think it's a problem with this Activity - I also tried to install a block but nothing happened with that either.
What am I missing?
Thanks,
Jack
I had this same problem myself. When I downloaded one of the files from my server I noticed that instead of a neat php file with tabbed indents I had a (very long) single line of code. I believe the files for this module were saved on a Unix system, but if you unzip to Windows before uploading to your server then all carriage returns end up getting stripped out.
To resolve this I uploaded the zipped up file that is downloaded straight to a Linux server and unzipped within the server. The files then install as you would expect. This is something I have not seen before and do not know if there is a better way of dealing with this problem.
Hopefully someone may be able to follow this up with a better solution.
After all that I would just like to thank Raphael for a fantastic module that is incredibly simple to use. I had a small problem with the feeds not validating completely so have made a minor change to the function make_xml in lib.php that fixes this which i have attached.
I simply uploaded the zip file to the /mod directory and then used the "unzip zipfilename" command through the terminal connection.
Then go to notifications etc.
regards
Mike Chaplin
Thanks
Wheelie
Hi,
we've managed to successfully install the podcasting activity but when we try to run it from itunes we get told we do not have authorisation to access the folder the file is in. We've tried it while logged into Moodle and it makes no difference. Has anyone else had this problem?
Carl.
I've had this Podcast module running successfully now since May (07) and am really happy with it but as we use it more and more there has been a desire to be able to write 'fancier' descriptions for each podcast. We'd like to be able to add links, stylized text, possibly even photos etc. but the html editor does not appear where the description window is. Is there any way to use the html editor when writing the description for a podcast?
Thanks in advance for any input anyone can provide.
Jason
I would like to do this as well.... did you find out anything to add the HTML editor, or do we just need to wait for an update from the developer?
Thanks!!
Vern
No, sorry, actually I've been working on other stuff with my Moodle site and kind of gave up on the html editor for a while. Just posted a new podcast today and remembered the desire for fancier 'trappings' around the podcast and came back here to see that my post/request/inquiry didn't seem to get much attention.
It doesn't seem like it would/should be that hard to change from the plain text entry form to the html editor but I'm an entry level techie at best so I probably don't know what I'm talking about.
Jason
Hi Raphael,
This is a great module. I've managed to run it and upload mp3 files but when I try to upload an ogg-vorbis file with ogg extension it only showed the following:
Choose a type file : avi, mov, movie, m3u, mp3, mp4, m4v, mpeg, mpe, mpg, m4a, qt, wmv, asf
How can I include ogg in this list?
TIA,
Roel
Hi guys,
I am experiencing the same problem mentioned in an earlier post, that is, when I tried to browse for file to upload I get an error "can't create directory", but my file permission for media and publication is 755. I changed it to 777 (although I think this is dangerous) and the directories were created but the file cannot be uploaded. I had to go in using my file manager to put the mp3 file in the directory and it showed up in the moodle file selector.
I am using cpanel in a RH linux web hosting environment. I don't have a shell interface so I don't know if the folder owner is correct, that's why I'm having problems or something else, perhaps some security feature in core moodle code. Is there any way I can solve this? Please help.
P.S. It worked fine in my home win XAMPP installation.
TIA,
Roel.
Are there any plans to provide support for XMLDB? (Or at least MSSQL)
Unfortunately this is a show stopper for us.
Cheers
Just noticed the podcast_db.tgz posted earlier. Groovy
You can download the install.xml file from the tracker item I've setup following, the file needs to be tested in environments other than PostgreSQL so if anyone is free to do that please add your feedback to the tracker entry rather than in this discussion area. Once we know its ok then we'll post back here again?
http://tracker.moodle.org/browse/CONTRIB-832
I also tried subscribing to the podcast in itunes and get the message in iTunes "There was a problem adding test to iTunes. The file might be corrupted or a file type that iTunes cannot play".
Also, when I try to see the settings in the admin interface I don't see anything.
Any help is much appreciated!!!! I am really happy with how this is working for .mp3 files. If I could get it to work with .m4v or .m4a files that would be great!
Kristen
Any help appreciated.
The files play well on my computer. They upload no problem. If I download them to another computer they play in quicktime, but they will not load on the screen.
The other format's I have tried are .mov and .mp3 Both play as expected. Thanks for any tips.
I have another problem though. Two actually. First is there a way to have the most recent cast appear on top instead of down below?
Next, is there a way to have video or even audio load when it is clicked on, not then the page is loaded. I just uploaded five video podcasts to a new cast and it makes it impossible to load on slower connections. Even on fast ones it often hangs or crashes.
Thanks,
Jon -
I ran into the same problem as one you mention - if there are many files (or a few large files) in the podcast, the page takes forever to load.
I've hacked the code to deal with this in my situation. (For me, the problem was caused by a large number of mp3 files that run 3 or 4 minutes each.)
The approach is to detect that there are "many" files in the podcast, and to display links to the files instead of media players for each one. I defined "many" to be 20 or more, but you can choose any number you want. (20 is way more than the number of files in any of the other "smaller" podcasts on my site.)
You could also do this by course number. I started to write it this way and then changed my mind in favor of a more general approach.
There are changes to two functions in podcast/lib.php. My changes are in red:
Near line 285, in function get_media_html():
- add arguments to the function header for the course ID, mp3 file name, and the number of files in the podcast.
- add logic above the existing code to detect the situation that requires links instead of media players, and to build the URL.
function get_media_html($url, $cID, $fName, $pCount) {
global $CFG, $THEME;
require_once('../../lib/filelib.php');
if($pCount > 20){
$html = '<a href="'.$url.'">'.$fName.'</a>'."\n";
}
// Type Audio : Lecteur Flash de Moodle
else if(mimeinfo("type",$url) == "audio/mpeg" || mimeinfo("type",$url) == "audio/mp3") {
Near line 457, in function get_podcast():
- change the call to get_medial_html()
...
echo "<p>".get_media_html($CFG->wwwroot."/mod/podcast/media/".$podcast->course."/".$podcast->id."/".$item->lien,$podcast->course, $item->lien, count($podcast_item) )."</p>";
echo "</div>";
I had some trouble formatting the code to make it readable...
These changes are working for me. Your mileage may vary.
bkg
Any help would be appreciated.
Brian
1. MP3 files not playing
2. .mov (quicktime) files not appearing in IE but works fine on Firefox
Please help/advise
Aznan
In lib.php there's a function called get_podcast in which you can find a foreach :
foreach($podcast_item as $item) {
...blabla...
echo "<p>".get_media_html($CFG->wwwroot."/mod/podcast/media/".$podcast->course."/".$podcast->id."/".$item->lien)."</p>";
...blabla...
}
Just replace the above line in this ^^ by something like :
echo "<p>".get_media_html($CFG->wwwroot."/mod/podcast/media/".$podcast->course."/".$podcast->id."/".$item->lien)."<br></p><a href='".$CFG->wwwroot."/mod/podcast/media/".$podcast->course."/".$podcast->id."/".$item->lien."'>".$podcast->title."</a>";
This would display a link called like the podcast item under the player linking to the item's media file. (Right Click -> save as)
Not tested but i think it's ok
cheers.
Next problem - is there a way to re-order them? I don't really want to edit code manually to change the ordering structure (as someone else mentioned earlier) - but would prefer a "sort by" button or option in inserting a new podcast to "insert to top" rather than "insert to bottom"...
Is any of this in the planning? Is this module still in development or should I be looking elsewhere for a long-term solution?
Thanks.
So i've made a fork project on google code called moodle-podcastplusplus which is a work in progress (no doc and language files are broken) but there's no problem about changing anything.
Atm, the new module place the last media file added first btw.
The main thing i've done on this module is to give the possibility to feed the podcast without uploading any files or fill any meta in moodle. Theses things are thus delagated to an external solution like the one provided by Apple with podcast producer.
The external feed need to fill a table in moodle db with the link to the file, a description, a title... and a username.. Having a CASified moodle come in handy here
You can check this out here if you want:
svn checkout http://moodle-podcastplusplus.googlecode.com/svn/trunk/ moodle-podcastplusplus-read-only
cheers.
- added a module help file (was none before, feel free to suggest alternative wording for it)
- replaced static nav with calls to build_navigation (old calls are deprecated and were generating warnings)
- set default language to EN (is there a Moodle site pref to check?)
- fixed handling of non-existent form action methods (were generating warnings)
- corrected tabobject active tab selection (tabs weren't working)
Dean Stringer
Jean-louis, if you contact Anthony Borrow I am sure he could set you up in the Moodle contrib area so, as Dean mentioned, we can get more Moodlers supporting your cause.
I love this module and look forward to following your progress
I just started using podcast producer here and this would be awesome. At the moment we have a double step process that your code would eliminate.
Julian
http://moodle.org/mod/forum/discuss.php?d=66016#p381838
This module is now able to act as a front end to podcast producer.
In fact, i kind of rewrote the ruby front end in PHP / AJAX (yahoo-lib) for moodle ;)
So, you can upload files, and control registred cameras directly from the module..
But you can also list your processed files and add them to a podcast activity :D (Or physically remove them from the PcP server, or remove them from the podcast activity)
You'll have some work to do in your workflow in order to make this work but it's pretty easy : All files submitted to PcP are prefixed with the login of the current user, all you need to do is to write in a table in moodle DB where the processed file is and who submitted it. Then, your file will be listed as available for being added to a podcast.
In order to delete files on the PcP server, you need to write a cron task which checks if an "alive" field is set to true or not in the table, and then take do the job of deletion. I could do this in the module, but i wanted to let people manage this sensible area themselves.
I have made a little video in order to show how it "PcP front end mode" looks atm.
There's no problem for me about pushing this in contrib area but i think there's lot of work left to do.. debugging, cleaning (rewriting) code, documenting..
ps: Excuse my English, sometimes i think it sounds good but it's totally wrong :D
pss: Thanks for your patch ^^, i have made your changes to the new version
Re the contrib area and work-left-to-do as you describe it, if its in contrib then others can help provide more patches to help you tidy all those loose ends up as a group rather than you having to do it all yourself. And if you use tracker we could all be making suggestions and helping fix other bugs and issues along the way.
One thing we are considering is adding roles/capability support to the module (so for example students can upload podcasts). Is this something on your road-map in the short term?
podcast:use allow people to see the activity or not
podcast:edit allow people to add media item / create podcasts..
I don't plan to change these so far, but if people need more specific capabilities, why not ;)
There's no problem for me about putting this in the contrib area, i just need to read the documentation about that i'll take a look at it.
I am trying to get the Podcast module to display the entries in reverse order (newest first) and tried using the hack posted in this thread but am not having much luck.
I've poked around in lib.php but can't seem to figure out how I need to modify the following code:
if ($podcast_item = get_records("podcast_structure", "id_podcast", $podcast->id)) {
foreach($podcast_item as $item) {
echo "<div style='border-bottom: 1px dashed black;'>";
echo "<h2>".stripslashes($item->title)." <span style='font-size:0.9em;font-style:italic;font-weight:normal;margin-left:40px;'>";
echo $item->date_html."</span></h2>";
echo "<p>".stripslashes($item->intro)."</p>";
echo "<p>".get_media_html($CFG->wwwroot."/mod/podcast/media/".$podcast->course."/".$podcast->id."/".$item->lien)."</p>";
echo "</div>";
To get the entries to be displayed in reverse order.
Also, how do I get the audio files that are displayed on the Podcast window to not autostart. I think I have the media filter set to not autoplay because files elsewhere on the site do not autoplay but for some reason the ones on the Podcast window do autoplay. The strange thing is that only the first one autoplays on Firefox but they all start on IE...?
Any advice or help will be greatly appreicated.
Jason
As far as the audio files playing automatically, I had forgotten that these settings are located in the config.php file located in the theme. I went to my theme and made the appropriate changes
waitforplay = yes
And was able to resolve that problem.
I am still at a loss for how to reorder the podcast audio files so that the most recent one appears at the top of the screen....
Jason
Hi Jason,
This should do the trick, just replace the first line by the second : (not tested)
if ($podcast_item = get_records("podcast_structure", "id_podcast", $podcast->id)) {
if ($podcast_item = get_records_select("podcast_structure", "id_podcast = $podcast->id", "id DESC" )) {
Magic! It is now tested and I can confirm that it works
Thanks so much. I was adding the DESC in the wrong place in the echo statements but now I see why that wasn't working.
Thanks a million for your help.
Jason
P.S. Another inquiry I see in the code for the Podcast mod (in lib.php) that the html editor is supposed to appear but for some reason it does not. Do you know why it is not present for the text that accompanies the podcast? It would be nice to be able to format it a little. Maybe the code I saw was for something else...?
I have a strange problem with the Podcast module suddenly that I cannot seem to figure out.
When I try to add a new podcast and try to upload an audio file (mp3) I get an error saying:
No file was found - are you sure you selected one to upload?
But I have selected a file. I had made some changes to the Podcast Module to use a nicer multimedia player (iPixelOut) and also made the change you provided to change the display order so I thought maybe some of those changes may be causing the problem and reverted to all of the original Podcast settings (files) but still have the upload problem.
Seems like this problem may not be related to the Podcast module but I'm not sure....
Jason
P.S. Additionally, I am getting a message that the XML is not ok. I tried to force add a podcast by adding it through the webserver and then selecting it when trying to add an audio file instead of uploading but that results in the podcast audio not being fed via rss through my mp3 player (iTunes)
I managed to remedy this error by changing the permissions on the following two directories (and all subdirectories & files) from 755 to 777.
moodle root/mod/podcast/media
moodle root/mod/podcast/publication
I don't know if this is safe or not....?
I guess my problem stemmed from an attempted upgrade yesterday from 1.9.4+ to 1.9.5+ that I then aborted and reverted to a backup copy I had of my Moodle. Copying the backup to my server must have changed some of the permissions.
Jason
Root/mod/podcast/media is the directory where your media file is uploaded.
Root/mod/podcast/publication is the directory where the rss file of your podcast is stored.
So you need them to be writable for moodle (and it's safe).
cheers ;)
thanks.
Theses lines are in podcast/lib.php in the function get_podcast($podcast,$id).
http://code.google.com/p/moodle-podcastplusplus/source/browse/trunk/podcast/lib.php#621
Hi,
how can i change the podcast, so that students can add/upload files or media?
Regards, Heidi
http://code.google.com/p/moodle-podcast ..
Can you advise what I did wrong or if there is a more recent updated link that I have overlooked.
Thank you .. Jennie
Anyone else having these issues?
Was really easy to install, and podcasts created in a class works for any podcasting software, as long as the software supports podcast authentication.
Do you only use MoodleRooms for hosting, or do they help manage and run your Moodle as well?