How could i make xml name that SWF tools generates for image playlist fixed? Currently its something like "b33cf7a6a86658d9d33a974f4586d287.xml" and i would like to make this fixed with node number, like node1.xml or something, where could i edit this?

Comments

Marko B’s picture

Found it in swftools.module on line 929

//    $playlist_name = md5($method->player['name'] . $prename) . '.xml';
    $playlist_name = 'node'.arg(1) . '.xml';	

made this replacement, so i can use drupal as cms for flash page without services and that nasty xmlrpc data model :-)

Stuart Greenfield’s picture

Status: Active » Fixed

Sounds like the user fixed the issue!

The odd looking string is intentional to ensure names don't clash. When SWF Tools generates a playlist it has no idea of the context it is working in (and it might not be in a node) so the suggested fix may work for a specific case, but not all cases.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.