New mp3 and Ral Media Streaming extension

Author Message

Stuart Fenton

Saturday 30 September 2006 2:51:00 pm

I'm creating this forum in case anyone needs help with the extension I've just posted. Please feel free to ask any questions if you need to ask them.

The contribution can be found here:
http://ez.no/community/contribs/datatypes/audio_datatype_that_provided_mp3_and_real_media_streaming

Regards
fats.

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

Pascal France

Saturday 21 October 2006 11:50:22 am

Hi Fats,

I've a trouble with your extension and ezp 3.7.4: you can see here:
http://www.linuxorable.fr/ez_publish/index.php/linuxorable/musique/abba_mp3
what happen if you click on the file (The message says that you can't access this object so you have to log in).

I have created a new audio class with only the audio datatype.
This new class belongs to content class group which belongs to Standard section.
Anonymous users can read all classes in the standard section.

The m3u and mp3 files are in:
ez_publish/var/plain/storage/original/audio/

var/ and all sub-directories have rights 777 (to be sure)

If I use this URI:
http://www.linuxorable.fr/ez_publish/var/plain/storage/original/audio/1d12fdd569949d1c6e54c388523f9500.mp3
I can play the mp3 with xmms
But if I use:
http://www.linuxorable.fr/ez_publish/var/plain/storage/original/audio/1d12fdd569949d1c6e54c388523f9500.m3u
I get an error message from xmms:
Connection to www.linuxorable.fr impossible
Serveur returns: 404 NOT FOUND

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Stuart Fenton

Saturday 21 October 2006 4:42:48 pm

Have you updated the ini file to your web address like 'www.grandmore.com'. You need to do this to make the m3u file to know where to look for the original file.

If you download at the m3u file and open it in a text editor it will describe the path to your file. What does it say?

Usually the reason it won't pass the address of you original file is because you haven't specified where you file is located.

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

Pascal France

Saturday 21 October 2006 11:36:37 pm

Hi Fats,

Yes I have updated the extension/audio/settings/audio.ini.append.php which now contains:

<?php /* #?ini charset="iso-8859-1"?

[audio]
LinkFileSiteName=www.linuxorable.fr/ez_publish
...
...
...
[LinkFileFileSettings]
#eg LinkFileSiteName=www.site.com
# The LinkFileSiteName holds the name of the site that gets written into the m3u files
# This is usefull when testing the server and know it will be moved.
# This variable gets tested when a file is requested for download. If it does not match the
# m3u file it gets rewitten to this variable.
LinkFileSiteName=www.linuxorable.fr/ez_publish
...
...
...

The .m3u file contains this:
http://www.linuxorable.fr/ez_publish/linuxorable/audio/download/1420/6407/file/ABBA%20-%20Gimme%21%20gimme%21%20gimme%21.mp3
and the mp3 file is in:
ez_publish/var/plain/storage/original/audio/1d12fdd569949d1c6e54c388523f9500.mp3
(and you can access and play it)

I did a second test and the m3u file contains:
http://www.linuxorable.fr/ez_publish/linuxorable/audio/download/1421/6408/file/ABBA.mp3
and the mp3 file is in:
ez_publish/var/plain/storage/original/audio/64eae918b231a6970d5540cf95d823b4.mp3
(and you can access and play it)

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Sunday 22 October 2006 3:18:52 am

Hi,

I would like to know when is the extension/audio/design/plain/templates/node/view/listitem.tpl used ?

I did an override to use this template but it does not give the m3u or mp3 URL

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Stuart Fenton

Thursday 26 October 2006 11:17:32 am

Sorry to take so long to get back to you.

What exactly is the problem?

I think the extension is using the "plain" design so perhaps that's why it's not loading on your site. If your not using a plain design you will need to create appropriate design overrides for the design that as the same as you have used. For example "shop".

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

Julian Mancera Garcia

Thursday 13 November 2008 12:06:06 pm

Hi,

I was wondering if the extension works for eZ4.x. Have you made an upgrade?

Regards

Julian

Dhaivat Naik

Wednesday 21 January 2009 10:49:02 pm

Hi,

this works on ez 4.0? it would be gr8 if it works on ez 4.0.

Regards,

Dhaivat

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.