Needs review
Project:
SWF Tools
Version:
6.x-2.5
Component:
SWF Tools
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2009 at 18:08 UTC
Updated:
8 Mar 2010 at 22:13 UTC
I was wondering if there is any way for the dynamic playlists created by using the file upload (attachment) module to use the file description on the uploaded file instead of the filename? I was hoping that this would be the default behavior but it isn't so. I'm trying to find a way to caption images uploaded by the file upload module and displayed with Image Rotator.
Comments
Comment #1
Stuart Greenfield commentedAt the moment there isn't a way to do this, but it's another sensible idea.
I'm building a list of feature enhancements, so this one will go on the list. I've noticed you tagged this thread as 5.x-2.4. I'm tending to focus new feature work on the 6.x series, so I'll get it working in there first, and then backport.
Changing to feature request as I want to be able to track new feature list!
Comment #2
robhall commentedStuart, FYI, this was a really easy customization on my part on line 908 of the swftool.module (version 5.x-2.4) I changed
$playlist_data['playlist'][$key]['title'] = $playlist_data['playlist'][$key]['filename'];to
$playlist_data['playlist'][$key]['title'] = $data['description'];then I realize that if you may have to account for the description not being available if you weren't using the upload module so I wound up with this that seems to be working for me but I haven't tested it (I'm only using the upload module with swf tools)
Comment #3
b_w_s commentedJust wanted to chime in and say that I'd really like to see this in 6.x-2.x as well. Displaying the actual titles rather than the filepath seems like the one remaining thing standing in the way of easy plug 'n play operation for media playlists.
Comment #4
nwe_44 commentedWould like to add my voice to this. Filenames/paths make little sense to the end user as descriptions. Fantastic module otherwise though.
Comment #5
Stuart Greenfield commentedI need to think about how to do this for the 6.x-2.x series - the direct integration with the upload module isn't in the SWF Tools 6 players (yet).
I haven't been actively working on the 5.x series in a while, so I will try to get round to implementing the fix suggested above, and to implementing something equivalent in the 6.x series.
In terms of 6.x, I am trying to work up the CCK support since this, ultimately, will be a much more flexible approach than the upload module. It might just take me a while to get it all in place.
Note to self - see also #420162: JW Player, 1PixelOut and displaying mp3s as Artists & Titles, not raw links
Comment #6
Marko B commentedJust to note, that #2 doesnt work with filefield and images as nothing but image names are passed to module. How could title or alt or desc be possible to fetch from swf module? I looked trough all the module and couldnt find a way to get it, suppose some extra function is needed to get it from CCK?
Comment #7
nwe_44 commented@deepM I've been using #2 and filefield + imagefield successfully. When you say "images" are you using imagefield to store the files, or the image module?
Comment #8
Marko B commentedimagefield ofcourse if using filefield. you are using it and getting DESCRIPTION of image in your XML? dont belive you as there is no code for it?!?! ohh and i see now that u r maybe talking about 5 and i was talking about version 6-2.5
Comment #9
drupup commentedAdd my voice on this one as well. SWFTools is so very, very close to being everything I need to make video easy for users. But the "filepath" titles are a real deal-breaker in terms of using playlists. It seems such a small thing in the overall picture, but it's vexing.
Can anyone suggest a workaround for Drupal 6 users similar to that suggested above?
Comment #10
krabbe commentedsubscribe...
Comment #11
hugafish commentedsubscribe
Comment #12
hedac commentedYes there has to be a way of display custom titles... but maybe this depends on the player swf also...
for example I have noticed that 1pixelout player displays the mp3 tags of author and title. I like that. But 1pixelout player only works for single mp3... when I use a list of files with JW player 3.17... the paths and filenames are displayed in the list.
It would be good to control titles with the description field. Subscribing.
Comment #13
hedac commentedapparently... 1pixelout 2.0 beta supports multiple files and titles? as described here http://wpaudioplayer.com/standalone
Comment #14
Stuart Greenfield commentedAs part of the work on SWF Tools 6.3 I'm overhauling the playlist fuctions, and improving the CCK formatters.
The aim is that when you use a CCK filefield the playlist will pick up the description field and use that in the playlist. I'm also building in support for the getID3 module so that you can pick up meta-data and use that.
It's working as prototype at the moment, but not quite ready to commit as there are some glitches I'm still working on.
Comment #15
iceman90 commentedsubscribe.
Comment #16
strawman commentedI tried #2 suggestion with 2.5 version of swftools with simpleviewer but there is no data to receive.....can't seem to get the alt text or the image description into the xml for simpleviewer...
any more suggestions or thoughts as to what can be done?
Thanks for the module and thank you for your time...
Comment #17
strawman commentedfigured it out...
once I clean it up I'll post what I did...
Comment #18
overtune commentedsubscribe
Comment #19
cbassig commentedsubscribe
Comment #20
kangaroobin commentedsubscribe
Comment #21
kangaroobin commented:strawman
seems like you know what you are doing! could you help me with this?
http://drupal.org/node/664254
Comment #22
overtune commentedHi!
Whats the status of this issue?
When do You think SWF Tools 6.3 will be ready to use with cck and the description field?
Really good work btw!
Thanks!
Comment #23
Stuart Greenfield commentedThis feature is now well underway in DRUPAL-6--3. Playlisting and file handling is being re-written and will include proper support for descriptions, amongst other things. The focus is on using the CCK module to handle files and links, with a broader range of formatters and tools to support neat CCK stuff.
It will take a little while to ripple the support through to all the players as I'm ironing out the underlying code, but it's working for JW4 and FP3 as prototypes.
Comment #24
trothmaster commentedWould anyone know how to display the current playing title as text elsewhere on the page? Here is a link to a script that apparently does this but I can't figure out how to implement this with my page. Any ideas?
http://www.longtailvideo.com/support/forum/JavaScript-Interaction/12583/...
Thank you so much!
Comment #26
Stuart Greenfield commentedChanging to "needs review" - I'm trying to work through the queue and see which aspects are addressed in the DRUPAL-6--3 branch to check I hit the main ones!
All modules should now use the description field, if it is available, when used via CCK. It makes for much nicer formatter players!
Comment #27
dubs commentedFor anyone who's interested, please see this link: -
http://drupal.org/node/725752
This is a way to pass the CCK description field to 1pixelout. Sorry for the lack of a proper patch...