J. Landman Gay | 30 Jul 2012 23:32
Favicon

QuickTime on Windows

Does anyone know why a player object won't load an aiff file in a 
standalone? It works fine in the IDE. The sound file does exist and the 
filename for the player is correct.

Windows XP
LiveCode 5.5.1

Did the default setting for dontUseQT change?

--

-- 
Jacqueline Landman Gay         |     jacque@...
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Scott Rossi | 31 Jul 2012 00:45
Favicon

Re: QuickTime on Windows

Hi Jacque:

Is QuickTime is installed or not?

You say the system is XP -- way, way back, issues sometimes cropped up with
players and filepaths.  I would imagine these were probably fixed by now,
but FWIW, here are two notes I had saved as possible workarounds:

-- use an absolute file reference with "file"
set fileName of player 1 to \
  "file:///volumes/primary/users/name/really_long_filename_here.mp3"

-- swap out space characters with html
replace space with "%20" in tURL

Can't say these will help but they're simple so maybe worth a try.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design

Recently, Jacque Landman Gay wrote:

> Does anyone know why a player object won't load an aiff file in a
> standalone? It works fine in the IDE. The sound file does exist and the
> filename for the player is correct.
> 
> Windows XP
(Continue reading)

J. Landman Gay | 31 Jul 2012 01:10
Favicon

Re: QuickTime on Windows

Thanks Scott. I just this second figured it out. I didn't give enough 
info for you to know what was wrong.

QT is installed and I'm using long file paths, and it all works in the 
IDE. But -- here's what I left out -- I was running the standalone in 
Parallels from the "network" drive (i.e., the folder on my Mac.) All the 
"play audioclip" commands worked fine but players with sound files 
assigned didn't. Apparently QT doesn't like to load sound files from a 
virtually mounted drive. When I copied the sounds folder to the XP VM it 
started working.

The question is though, how come QT was happy to load the file when it 
was running in the IDE? Weird. Doesn't matter I guess, the standalone 
will always be on the same drive with the app. But I like to know these 
things.

Thanks again.

On 7/30/12 5:45 PM, Scott Rossi wrote:
> Hi Jacque:
>
> Is QuickTime is installed or not?
>
> You say the system is XP -- way, way back, issues sometimes cropped up with
> players and filepaths.  I would imagine these were probably fixed by now,
> but FWIW, here are two notes I had saved as possible workarounds:
>
> -- use an absolute file reference with "file"
> set fileName of player 1 to \
>    "file:///volumes/primary/users/name/really_long_filename_here.mp3"
(Continue reading)

Bob Sneidar | 31 Jul 2012 01:20

Re: QuickTime on Windows

The VM should use a drive letter to map it. Were you using the mapped drive to access it? 

Bob

On Jul 30, 2012, at 4:10 PM, J. Landman Gay wrote:

> Thanks Scott. I just this second figured it out. I didn't give enough info for you to know what was wrong.
> 
> QT is installed and I'm using long file paths, and it all works in the IDE. But -- here's what I left out -- I was
running the standalone in Parallels from the "network" drive (i.e., the folder on my Mac.) All the "play
audioclip" commands worked fine but players with sound files assigned didn't. Apparently QT doesn't
like to load sound files from a virtually mounted drive. When I copied the sounds folder to the XP VM it
started working.
> 
> The question is though, how come QT was happy to load the file when it was running in the IDE? Weird. Doesn't
matter I guess, the standalone will always be on the same drive with the app. But I like to know these things.
> 
> Thanks again.

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

J. Landman Gay | 31 Jul 2012 01:34
Favicon

Re: QuickTime on Windows

On 7/30/12 6:20 PM, Bob Sneidar wrote:
> The VM should use a drive letter to map it. Were you using the mapped
> drive to access it?

I was creating a relative file path based on the file path of the main 
stack. In Parallels the shared "drive" is mapped to "Z" but the filename 
of the stack comes in as "pfd://home/yadda/yadda". (I think it's "pfd", 
I've shut down Parallels now, but it was something odd like that.)

The script checks for the existence of the audio file and if it's there, 
it loads a player. "There is a file 'pfd://home/yadda'" returns true. 
When it gets passed off to QT it fails.

The exact same script and filepath works in the IDE though. Maybe the 
IDE is passing the mapped letter to QT for us.

--

-- 
Jacqueline Landman Gay         |     jacque@...
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Bob Sneidar | 31 Jul 2012 01:51

Re: QuickTime on Windows

I believe it's psd for Parallels Shared Drive. If it's important to you, you might try using the mapped drive
path. The IDE probably knows how to translate while a standalone might not. Just guessing there though. 

Bob

On Jul 30, 2012, at 4:34 PM, J. Landman Gay wrote:

> On 7/30/12 6:20 PM, Bob Sneidar wrote:
>> The VM should use a drive letter to map it. Were you using the mapped
>> drive to access it?
> 
> I was creating a relative file path based on the file path of the main stack. In Parallels the shared "drive"
is mapped to "Z" but the filename of the stack comes in as "pfd://home/yadda/yadda". (I think it's "pfd",
I've shut down Parallels now, but it was something odd like that.)
> 
> The script checks for the existence of the audio file and if it's there, it loads a player. "There is a file
'pfd://home/yadda'" returns true. When it gets passed off to QT it fails.
> 
> The exact same script and filepath works in the IDE though. Maybe the IDE is passing the mapped letter to QT
for us.
> 
> -- 
> Jacqueline Landman Gay         |     jacque@...
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@...
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
(Continue reading)

J. Landman Gay | 31 Jul 2012 03:59
Favicon

Re: QuickTime on Windows

On 7/30/12 6:51 PM, Bob Sneidar wrote:
> I believe it's psd for Parallels Shared Drive. If it's important to
> you, you might try using the mapped drive path. The IDE probably
> knows how to translate while a standalone might not. Just guessing
> there though.

Yeah, "psd" sounds right. I think your diagnosis is probably right. I 
don't need to do the mapping for the final standalone, but I'm glad to 
know why it didn't work.

--

-- 
Jacqueline Landman Gay         |     jacque@...
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Gmane