Search…

X3 Photo Gallery Support Forums

Search…
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

Can't get audio to play

18 Jul 2010, 19:33

Imagevue X2 2.1.7. Audioplayer settings:

enabled - on
path - false
use_imagefolder - on
autostart - on (or off and click to turn on the player)
startvolume - 75
repeat - 1
minimum connection - 20
sorting - md
showplaylist - off
showcontrols - on

There is a 2.M mp3 file in the image folder (content/imagefoldername).
The small circular "loading" image turns clockwise and never stops. The sound never starts.

Any ideas?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

19 Jul 2010, 03:13

Hard to say without checking through a link. It could be related to the server, or a corrupted mp3 file somehow ... or it could be related to Imagevue. Can you send me the link?

Did you try to upload this same mp3 file into your "mp3" folder and set use_imagefolder OFF? Does it play?
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

19 Jul 2010, 08:13

Good call! It played perfectly that way.

It only plays when an mp3 file is in the folder specified by audioplayer - path (content/). It doesn't play an mp3 file from the image folder whether or not use_imagefolder is on or off, and regardless of the setting of audioplayer - path.

I've now removed the mp3 file from the mp3 filder (content/) and the mp3 file is in the iimagefolder. autostart is off.

http://ruthvenphotos.com/#/content/oldschoolsoul
mjau-mjau wrote:Did you try to upload this same mp3 file into your "mp3" folder and set use_imagefolder OFF? Does it play?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

20 Jul 2010, 05:44

hmm I imagine this is some flaw related to accessing the gallery with a direct link instead of using the menu. Perhaps you could try enabling the menu and accessing the folder from there? Also, could you try autostart=true?

Also, you have set your audioplayer default path to "content". Why not use the default "mp3" folder for this? It shouldn't make a difference, but this use_folder setting is a bit intricate, because it needs to check the current folder for mp3 tracks and if there are none, it falls back to your default mp3 folder ... and then it checks playing status etc. Not saying its not a flaw with imagevue, but as you may understand, its a bit tedious.

If you still get problems, you can send me admin login so I can try some stuff ...
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

20 Jul 2010, 06:57

It almost works with autostart = true. Here are the results:

path use_imagefolder autostart location of mp3 file audio plays?
---- ------------------- ---------- ---------------------- --------------
1- false off off anywhere no

2- false on off imagefolder no

3- false on off content/ no

4- false on on imagefolder no

5- false on on content/ yes (only if playing from content folder)

6- content/ on on imagefolder only no (I'm sure it played once but not now)

7- content/ on on imagefolder & content/ yes (plays correct mp3)

8- content/ on on imagefolder only no
default
----------------------------
The gallery is: http://ruthvenphotos.com/imagevue

The mp3 file is in: http://ruthvenphotos.com/#/content/oldschoolsoul

#8 above is now present.

I'm sending the username and password by email (the form).

>Why not use the default "mp3" folder for this?<

What is that? I don't see anything like that in the list of
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

24 Jul 2010, 23:49

First of all, there is one thing here that needs to be explained:

# PATH should never be off/false. By default, it is set to "mp3" ... Even if you are using use_imagefolder, the PATH should point to somewhere, because the path specifies the audio folder fallback. In your examples, you mostly have "false" and in some you have "content" ...

If you are using "content" as path for audio (which is a bit obscure), you won't be able to combine that with use_imagefolder properly.
mwr wrote:>Why not use the default "mp3" folder for this?<

What is that? I don't see anything like that in the list of
You have deleted your MP3 folder from the original Imagevue. This is not a problem, but we made it like that to recommend normal users to simply use this folder for mp3 audio files. In the admin interface it is set to HIDDEN, so that it does not display in the imagevue menu, but simply acts as a folder strictly for audio.

I am not 100% sure what you are trying to achieve, but perhaps I can recommend this - You obviously want separate tracks to be played from separate folders:

# Create a folder "mp3" or "audio" in your admin. In settings, point your audio path to this folder. There is no reason to set your path to "content" or "false" no matter if you are using use_audiofolder or not ...

# If you are using use_audiofolder, place your tracks in each specific imagefolder. There is no reason again here why you should be placing your tracks in the main "content" folder.

There are also some other issues which may cause problems when testing: 1. Imagevue uses a flash "cookie" to determine the visitors last state of the audioplayer (if its playing or not). This outweighs the autostart setting and may of course have effects when testing.

Now, I won't insist there are no flaws with Imagevue and the audioplayer, but it would be easier to diagnose if we could work out from standard integrations. Feel free to post back here ...
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

25 Jul 2010, 00:09

Thanks.

- I created a folder "audio" in admin. In settings, I selected content/audio/ as the audio path.

- I set use_imagefolder on.

- If there is an mp3 file in the audio folder, it plays when viewing folders that don't contain an mp3 file. If the viewed image folder contains its own mp3 file, that one plays. Very good.

- But if there is no mp3 file in the audio folder, then even if the viewed image folder contains its own mp3 file, it doesn't play.

I really want only the image-folder mp3 file to play, and nothing to play if there is no mp3 file in the viewed image folder. I can't get that to happen.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

25 Jul 2010, 00:17

The audioplayer was mainly created with this in mind to have OPTIONAL audio for imagefolders, but not to be able to toggle audio depending on folder. This has not been tested properly, and I can imagine this would lead to the audioplayer stopping, which again stores this setting in the visitors cookies as STOPPED ... That means the audioplayer is stopped, and wont just start again in another folder ...

I think I will have to look into this for next release if we are going to do something about it ...
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

25 Jul 2010, 00:20

Would the "file loading" circle be appearing in the upper right if the audio was stopped? Here's the folder with the mp3 in it:

http://ruthvenphotos.com/#/content/chowdown_06132010
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

26 Jul 2010, 05:39

mwr wrote:Would the "file loading" circle be appearing in the upper right if the audio was stopped? Here's the folder with the mp3 in it:
The technical side of things if the loader does display or not is not really relevant. We already figured out your setup creates a glitch in imagevue that is NOT related to the specific mp3 file ...
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

26 Jul 2010, 08:31

OK, so until further notice, there's no way to get the audio to play if the image folder contains an mp3 and not play if the image folder does not contain an mp3. Right?

If you're going to add that functionality, it would be good to not display the audio controls at all in the upper right if there's no mp3 to play. The audio controls lead the use to expect audio and would be confusing if no audio is supposed to play.

As you're probably surmised, I'm using the gallery as a "holder" for separate image-folder galleries. I send the specific link for an image-folder gallery to users I want to view that particular one.
mjau-mjau wrote:We already figured out your setup creates a glitch in imagevue that is NOT related to the specific mp3 file ...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

26 Jul 2010, 11:52

mwr wrote:OK, so until further notice, there's no way to get the audio to play if the image folder contains an mp3 and not play if the image folder does not contain an mp3. Right?

If you're going to add that functionality, it would be good to not display the audio controls at all in the upper right if there's no mp3 to play. The audio controls lead the use to expect audio and would be confusing if no audio is supposed to play.

As you're probably surmised, I'm using the gallery as a "holder" for separate image-folder galleries. I send the specific link for an image-folder gallery to users I want to view that particular one.
I'm going to have to look into this for next release. It's obvious you have found an issue that borderlines to a flaw in imagevue, although I think this was initially intentional. Imagevue always plays tracks from a default folder, unless it finds audio tracks in the specific imagefolder ... In any of the cases, it would always be able to fallback to a track to play, and the visitors PLAY status would virtually work independent from this.

In your case, you are kinda asking for the audioplayer to START/STOP based on the kriteria of audio existing or not, and trying to fulfill that kriteria by having an empty default audio folder ... this is not something that is currently integrated with Imagevue.
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

26 Jul 2010, 12:24

I get it. All I can say is that it would make your product much more flexible in the audio arena, and of course it would make it do what I want :-)
mjau-mjau wrote:
mwr wrote:I'm going to have to look into this for next release. It's obvious you have found an issue that borderlines to a flaw in imagevue, although I think this was initially intentional. Imagevue always plays tracks from a default folder, unless it finds audio tracks in the specific imagefolder ... In any of the cases, it would always be able to fallback to a track to play, and the visitors PLAY status would virtually work independent from this.

In your case, you are kinda asking for the audioplayer to START/STOP based on the kriteria of audio existing or not, and trying to fulfill that kriteria by having an empty default audio folder ... this is not something that is currently integrated with Imagevue.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

26 Jul 2010, 12:42

It's in my list, and I will see what I can do for next release ...
 
mwr
Experienced
Topic Author
Posts: 84
Joined: 08 Sep 2009, 20:57

26 Jul 2010, 12:59

Thanks!
mjau-mjau wrote:It's in my list, and I will see what I can do for next release ...