Port to 6

add1sun - February 25, 2008 - 15:18
Project:Media Field
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Darren Oh
Status:needs review
Description

Hey there, the Dojo will be using the Media Actions module in Drupal 6 on the new website to handle video uploads. It currently works with mediafield for uploading. Just checkingt o see if any work has started on porting mediafield and, if not, would you be cool with making this a DROP task?

#1

VM - May 29, 2008 - 00:04

Looks like ARDAS has taken a leave of absense.

#2

Darren Oh - June 15, 2008 - 20:09
Assigned to:Anonymous» Darren Oh

Working on a patch.

#3

a_c_m - June 25, 2008 - 20:02

I've just taken over the module, going to do some much needed patching and then take it from there. Patches for getting it up to D6 are VERY welcome, also if your interested in being a co-maintainer fire me an email :)

#4

design.er - February 6, 2009 - 11:28

Hi, what's the current state of the port to 6.x?

#5

VM - February 6, 2009 - 15:13

with D6 you want to investigate the filefileld.module

#6

design.er - February 6, 2009 - 15:17

Thanks for your quick reply. I use filefield already for videos in conjunction with swf tools.
ok, maybe i should try to use it also for audio files. is there a possibility to use getid3 library?

#7

SeanBannister - February 22, 2009 - 10:05

Subscribe
I believe that FileField will handle this in Drupal 6, can anyone confirm?

#8

Darren Oh - April 8, 2009 - 17:50
Status:active» needs review

Patch is ready for testing. Does not update old fields yet.

AttachmentSize
mediafield-226513-8.patch 65.79 KB

#9

SeanBannister - April 13, 2009 - 08:11

Is there any reason that this would be better than using FileField? As FileField will be in core for Drupal 7 and uses SWFTools to display audio and video.

#10

Darren Oh - April 13, 2009 - 14:26

This does use FileField. It enables Mediafield users to upgrade to FileField.

#11

Darren Oh - April 13, 2009 - 15:21

Attached patch adds all the functionality of the audio and video fields to file fields and updates old fields.

#12

Darren Oh - April 13, 2009 - 15:22

Forgot to attach patch.

AttachmentSize
mediafield-226513-11.patch 82.55 KB

#13

LouBabe - April 14, 2009 - 23:23

What version is this patch against? Head, 5.x branch? I'm trying to apply against 5.x and having some trouble. Maybe you could also post an archive of the module with the patch applied. Thanks!

UPDATE: Never mind, works fine against head, thanks. I'll test the patch and post any updates.

#14

LouBabe - April 14, 2009 - 23:43

After installing the patched module and running the updates, my legacy audio and video fields are still not appearing updated. When viewing the manage fields page, I get the following message,

This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled.
* opera_audio (field_opera_audio) is an inactive File field that uses a Audio widget.
* opera_video (field_opera_video) is an inactive File field that uses a Video widget.

Any suggestions?

#15

Darren Oh - April 17, 2009 - 16:31

Try this updated patch. It works for me.

AttachmentSize
mediafield-226513-15.patch 82.32 KB

#16

Darren Oh - April 22, 2009 - 18:06

Fixed undefined variables in last patch.

AttachmentSize
mediafield-226513-16.patch 82.33 KB

#17

Darren Oh - April 24, 2009 - 21:40

Fixed error notice when attempting to retrieve missing file.

AttachmentSize
mediafield-226513-17.patch 82.36 KB

#18

Darren Oh - May 18, 2009 - 19:56

Fixed loss of hidden display setting after upgrade.

AttachmentSize
mediafield-226513-18.patch 83.38 KB

#19

ggevalt - July 29, 2009 - 18:46

Thanks for the discussion and work on this...

Is the patch you posted here a fix to be able to use the mediafield module in Drupal 6?

Here is our problem (and this is a HUGE issue for us). We have a Drupal 5 installation with many podcasts and are attempting to go to Drupal 6. In the Drupal 5 version, we used mediafield, mediafield display, cck and file_upload to get a pretty easy upload, player solution for users to create podcasts. However, in moving to Drupal 6, mediafield is not ready for 6 and so use filefield, cck, file_upload and mp3player modules; that works fine EXCEPT for existing podcasts created in Drupal 5. For those existing podcasts we get this message (when accessing content types/manage fields):
This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled.
Podcast (field_podcast) is an inactive file_audio field that uses a audio widget.

So, again, is the patch you have posted, does that essentially make mediafield useable in Drupal 6? And if so, how do we patch it into the 5 module?

thanks

geoff gevalt

#20

Darren Oh - October 28, 2009 - 14:47

Currently you have to download the HEAD code from CVS and apply the patch to that. The patch is intended to help the maintainer create a Drupal 6 release.

 
 

Drupal is a registered trademark of Dries Buytaert.