Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-18 Thread Chris Samuel
On Wednesday 18 March 2009, xChris wrote:

> When the ogg file  has the extension .oga, (it has a mediaplayer icon) I
> cannot play it, as the system says 'the media system is not configured to
> handle this request'

That's a generic error message in QtopiaMediaProvider::createSession() which
results from any error in the call to:

QMediaServerSession*mediaSession = 
d->sessionManager->createSession(request);

Unfortunately I'm not a C++ programmer so I'm pretty much lost after
that point!

> If I rename it as .ogg, its not recognized as audio/media file.

That's bizzare - according to qtopia/etc/mime.types we have:

audio/ogg   oga
audio/ogg+vorbisogg

and the Tremor Ogg plugin appears to register itself as knowing about
audio/ogg+vorbis by doing this:

d->mimeTypes << "audio/ogg+vorbis";

The desktop file for the media player should now make it believe it can
handle both audio/ogg and audio/ogg+vorbis.

So I would have thought it would recognise audio/ogg and audio/ogg+vorbis
as audio files and, if anything, not be able to handle a .oga file by handle
the .ogg files (as the MIME types match).  Perhaps the second part is why the
error occurs ?

Very very peculiar!  I'm out of ideas for now - anyone else ?

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP



signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-18 Thread xChris

and.. btw, I do have the qterminal on my application list !
-- 
View this message in context: 
http://n2.nabble.com/Anyone-have-ogg-support-in-qt-extended-4.4.3---tp2455815p2496513.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-18 Thread xChris

Hi,

I meant the 16/3 !!! (the 13/6 was a typo! sorry!!!)

I used the jffs2 from [1] but everytime I update with the latest binaries
from [2].

When the ogg file  has the extension .oga, (it has a mediaplayer icon) I
cannot play it, 
as the system says 'the media system is not configured to handle this
request'.
If I rename it as .ogg, its not recognized as audio/media file.

 
[1]http://dashi-x02.karadog.net/~lihouyu/qtextended/4.4.3/
[2]http://trac.karadog.net/qt-extended-improved/wiki/SnapBuilds
-- 
View this message in context: 
http://n2.nabble.com/Anyone-have-ogg-support-in-qt-extended-4.4.3---tp2455815p2496504.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-18 Thread Franky Van Liedekerke
On Wed, Mar 18, 2009 at 9:43 AM, Radek Polak  wrote:

> > Do you mean the snapbuild 20090316? If it's true, then we have to work
> > on a new patch.
> >
> > On Wed, Mar 18, 2009 at 8:50 AM, xChris  wrote:
> >
> >
> > Hi,
> >
> > Is it fixed on the lates (13/6) improved release? I just re-flashed
> my
> > Freerunner, but the
> > mediaplayer cannot play the *.oga (*.ogg are not recognized)..
> >
> > TIA
> >
> > chris
>
> Btw i am wondering why all the binaries at
> http://dashi-x02.karadog.net/~lihouyu/qtextended/4.4.3/
> are dated to 05-Mar-2009. E.g. the ogg patches are
> of newer date.
>
> So is everybody really using the latest binaries? Do you
> Chris have the QTerminal in your applications?
>
> It would be nice to have e.g. git revision written
> somewhere during build so that it can be viewed in
> System Info application.
>
> Radek
>

the binaries are from March 5th, but in the dir
http://dashi-x02.karadog.net/~lihouyu/qtextended/snapbuild/ you can then
find updated qtextended tarballs.
Copy that one to the freerunner, extract over the current qtextended version
and restart qtopia (or reboot).
See http://trac.karadog.net/qt-extended-improved and
http://trac.karadog.net/qt-extended-improved/wiki/SnapBuilds

Franky
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-18 Thread Filip Onkelinx
Radek,

you should try one of the snapshots, located at  
http://dashi-x02.karadog.net/~lihouyu/qtextended/snapbuild/
It looks like you are using the 'released' version, without the patches  
(which are in snapshot builds only).

Cheers,

Filip.


On Wed, 18 Mar 2009 09:43:07 +0100, Radek Polak  wrote:

>> Do you mean the snapbuild 20090316? If it's true, then we have to work
>> on a new patch.
>>
>> On Wed, Mar 18, 2009 at 8:50 AM, xChris  wrote:
>>
>>
>> Hi,
>>
>> Is it fixed on the lates (13/6) improved release? I just re-flashed  
>> my
>> Freerunner, but the
>> mediaplayer cannot play the *.oga (*.ogg are not recognized)..
>>
>> TIA
>>
>> chris
>
> Btw i am wondering why all the binaries at
> http://dashi-x02.karadog.net/~lihouyu/qtextended/4.4.3/
> are dated to 05-Mar-2009. E.g. the ogg patches are
> of newer date.
>
> So is everybody really using the latest binaries? Do you
> Chris have the QTerminal in your applications?
>
> It would be nice to have e.g. git revision written
> somewhere during build so that it can be viewed in
> System Info application.
>
> Radek
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-18 Thread Radek Polak
Radek Polak wrote:

> It would be nice to have e.g. git revision written
> somewhere during build so that it can be viewed in
> System Info application.

Just noticed there is build date in "System Info"
applicatin.

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-18 Thread Radek Polak
> Do you mean the snapbuild 20090316? If it's true, then we have to work 
> on a new patch.
> 
> On Wed, Mar 18, 2009 at 8:50 AM, xChris  wrote:
> 
> 
> Hi,
> 
> Is it fixed on the lates (13/6) improved release? I just re-flashed my
> Freerunner, but the
> mediaplayer cannot play the *.oga (*.ogg are not recognized)..
> 
> TIA
> 
> chris

Btw i am wondering why all the binaries at
http://dashi-x02.karadog.net/~lihouyu/qtextended/4.4.3/
are dated to 05-Mar-2009. E.g. the ogg patches are
of newer date.

So is everybody really using the latest binaries? Do you
Chris have the QTerminal in your applications?

It would be nice to have e.g. git revision written
somewhere during build so that it can be viewed in
System Info application.

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-17 Thread HouYu Li
Do you mean the snapbuild 20090316? If it's true, then we have to work on a
new patch.

On Wed, Mar 18, 2009 at 8:50 AM, xChris  wrote:

>
> Hi,
>
> Is it fixed on the lates (13/6) improved release? I just re-flashed my
> Freerunner, but the
> mediaplayer cannot play the *.oga (*.ogg are not recognized)..
>
> TIA
>
> chris
> --
> View this message in context:
> http://n2.nabble.com/Anyone-have-ogg-support-in-qt-extended-4.4.3---tp2455815p2494761.html
> Sent from the Openmoko Community mailing list archive at Nabble.com.
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-17 Thread xChris

Hi,

Is it fixed on the lates (13/6) improved release? I just re-flashed my
Freerunner, but the 
mediaplayer cannot play the *.oga (*.ogg are not recognized)..

TIA

chris
-- 
View this message in context: 
http://n2.nabble.com/Anyone-have-ogg-support-in-qt-extended-4.4.3---tp2455815p2494761.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Qt Extended 4.4.3] Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-13 Thread Chris Samuel
On Friday 13 March 2009, andrew howlett wrote:

> Lorn, Chris:
>
> thank you!

A pleasure!

> I ssh'd to my FreeRunner and added a line to
> /opt/Trolltech/Qtopia/etc/mime.types:
>
> audio/ogg+vorbis oga ogg s

Yup, that'd work too (and is probably a better solution) - I presume the 's' 
is a typo ?

> Now I can play them using mediaplayer.

Great stuff!

HouYu, can we get this into the Git tree please ?

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP



signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-12 Thread andrew howlett

Lorn, Chris:

thank you!

I ssh'd to my FreeRunner and added a line to 
/opt/Trolltech/Qtopia/etc/mime.types:

audio/ogg+vorbis oga ogg s

Now I can play them using mediaplayer.

later,
andrew.
-- 
View this message in context: 
http://n2.nabble.com/Anyone-have-ogg-support-in-qt-extended-4.4.3---tp2455815p2471480.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-11 Thread Chris Samuel
On Thursday 12 March 2009, Lorn Potter wrote:

> I think you might have to edit $QPEDIR/etc/mime.types and/or the
> MediaPlayer desktop file to add ogg to the files the mediaplayer can
> recognize. Then run make install again.

I also notice that the tremor Ogg plugin has this:

OggPlugin::OggPlugin():
d(new OggPluginPrivate)
{
d->mimeTypes << "audio/ogg+vorbis";
d->fileExtensions << "ogg";
}

Not being a C++ geek I am not sure how that would need to change to make it 
register itself for audio/ogg and .oga files - any clues ?

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP



signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-11 Thread Chris Samuel
On Thursday 12 March 2009, Lorn Potter wrote:

> I think you might have to edit $QPEDIR/etc/mime.types and/or the
> MediaPlayer desktop file to add ogg to the files the mediaplayer can
> recognize. Then run make install again.

Aha, the desktop file for mediaplayer lists audio/ogg+vorbis for .ogg files 
but not audio/ogg which is defined for .oga files in the mime.types.

I'll send a patch for that to the list in a second.

Radagast, what are the characteristics (file name, mime-type) of the file that 
you are trying to play ?

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP



signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Anyone have ogg support in qt extended 4.4.3 ?

2009-03-11 Thread Lorn Potter
andrew howlett wrote:
> Hi qt users,
> 
> ogg support is missing in all my qt extended 4.4.3 builds. (which is
> strange, because the tremor plugin and vorbis library are build ok, but I
> digress)
> 
> Is it just me? Has anyone got ogg support in 4.4.3?
> 
> Let me know if your ogg support is working or broken. If everyone's is
> broken then I will fix it.
> 
> later,
> radagast

I think you might have to edit $QPEDIR/etc/mime.types and/or the MediaPlayer 
desktop file to add ogg
to the files the mediaplayer can recognize. Then run make install again.


-- 
Lorn 'ljp' Potter
Software Engineer, Qt Software R&D, Nokia Pty Ltd



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Anyone have ogg support in qt extended 4.4.3 ?

2009-03-10 Thread andrew howlett

Hi qt users,

ogg support is missing in all my qt extended 4.4.3 builds. (which is
strange, because the tremor plugin and vorbis library are build ok, but I
digress)

Is it just me? Has anyone got ogg support in 4.4.3?

Let me know if your ogg support is working or broken. If everyone's is
broken then I will fix it.

later,
radagast
-- 
View this message in context: 
http://n2.nabble.com/Anyone-have-ogg-support-in-qt-extended-4.4.3---tp2455815p2455815.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community