Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Brad Fuller-2
I previously wrote:

> Running on my Linux (gentoo) system, sq3.9-7067dev07.08.1 does not
> accept *mp3*
> drops to the World. The result is: nothing happens. How come?
> On the standard 3.9-7067 system, dropping an *MP3* file on the World
> results in
> a player to play the *mp3* file.
>
> brad
>
> BTW: not all *MP3* files are accepted on the World as a dropped file.
> Does
> anyone know why? I haven't dug at all into it, so I'm assuming it has
> to do
> with the limitations of the *mp3* decoder. Anyone enlighten me?
>
>
> Hi brad in squeak 7137 (basic not dev) I’ve noticed
> that dropping projects on to the window sometimes will
> load the project and sometimes not. It seems very
> related to where I drop things.
>
> So I don’t think the problem is specific to *MP3* files.
> It seems to me a mantis report is in order.
> Want to start one?
>
> Yours in curiosity and service, --Jerome Peace

Ok, On XP, I seem to be able to drop MP3's on the 3.8 and 3.9 World just
fine and a soundplayer appears and the file plays fine. But, not on 3.10
squeak-dev (3.10beta #7145) - the result is the file contents in a
system window; no soundplayer morph.
Is this a symptom that others see? If so, I'll write it up on mantis.

cheers,
brad




Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Brad Fuller-2
Brad Fuller wrote:

> I previously wrote:
>> Running on my Linux (gentoo) system, sq3.9-7067dev07.08.1 does not
>> accept *mp3*
>> drops to the World. The result is: nothing happens. How come?
>> On the standard 3.9-7067 system, dropping an *MP3* file on the World
>> results in
>> a player to play the *mp3* file.
>>
>> brad
>>
>> BTW: not all *MP3* files are accepted on the World as a dropped file.
>> Does
>> anyone know why? I haven't dug at all into it, so I'm assuming it has
>> to do
>> with the limitations of the *mp3* decoder. Anyone enlighten me?
>>
>>
>> Hi brad in squeak 7137 (basic not dev) I’ve noticed
>> that dropping projects on to the window sometimes will
>> load the project and sometimes not. It seems very
>> related to where I drop things.
>>
>> So I don’t think the problem is specific to *MP3* files.
>> It seems to me a mantis report is in order.
>> Want to start one?
>>
>> Yours in curiosity and service, --Jerome Peace
>
> Ok, On XP, I seem to be able to drop MP3's on the 3.8 and 3.9 World just
> fine and a soundplayer appears and the file plays fine. But, not on 3.10
> squeak-dev (3.10beta #7145) - the result is the file contents in a
> system window; no soundplayer morph.
> Is this a symptom that others see? If so, I'll write it up on mantis.
Looks like no one has had time to confirm this.. or not many people with
MP3s to drop ;-)
 From Edgar's msg re: MoviePlayerMorph being removed to reduce 3.10
size, maybe this functionality has been removed as well. I looked for
this functionality in 3.9 but can't really find it. If someone could
just point me to some places to look, I'll do the looking.

thanks,
brad


Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Brad Fuller-2
Brad Fuller wrote:

> Brad Fuller wrote:
>> I previously wrote:
>>> Running on my Linux (gentoo) system, sq3.9-7067dev07.08.1 does not
>>> accept *mp3*
>>> drops to the World. The result is: nothing happens. How come?
>>> On the standard 3.9-7067 system, dropping an *MP3* file on the World
>>> results in
>>> a player to play the *mp3* file.
>>>
>>> brad
>>>
>>> BTW: not all *MP3* files are accepted on the World as a dropped
>>> file. Does
>>> anyone know why? I haven't dug at all into it, so I'm assuming it
>>> has to do
>>> with the limitations of the *mp3* decoder. Anyone enlighten me?
>>>
>>>
>>> Hi brad in squeak 7137 (basic not dev) I’ve noticed
>>> that dropping projects on to the window sometimes will
>>> load the project and sometimes not. It seems very
>>> related to where I drop things.
>>>
>>> So I don’t think the problem is specific to *MP3* files.
>>> It seems to me a mantis report is in order.
>>> Want to start one?
>>>
>>> Yours in curiosity and service, --Jerome Peace
>>
>> Ok, On XP, I seem to be able to drop MP3's on the 3.8 and 3.9 World just
>> fine and a soundplayer appears and the file plays fine. But, not on 3.10
>> squeak-dev (3.10beta #7145) - the result is the file contents in a
>> system window; no soundplayer morph.
>> Is this a symptom that others see? If so, I'll write it up on mantis.
> Looks like no one has had time to confirm this.. or not many people
> with MP3s to drop ;-)
> From Edgar's msg re: MoviePlayerMorph being removed to reduce 3.10
> size, maybe this functionality has been removed as well. I looked for
> this functionality in 3.9 but can't really find it. If someone could
> just point me to some places to look, I'll do the looking.
rather than looking into World and how things are dropped, it was easier
to see what was missing on the mp3 side. All classes in the categories
Movies-Player and Movies-Kernel have been removed (if I was on the 3.10
mailing list, I probably would already know this. Sorry for the
redundancy if it is. Is there a list somewhere of removed classes?)
So, I added all back.
Dropping an mp3 on the World causes the expected dialog as 3.9, but I
get an MNU on: MPEGSubtitlesDisplayer on: self selector: #subtitle.
I'll look into it. If someone has experience with this, please let me know.
Thanks!
brad


Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Travis Kay
In reply to this post by Brad Fuller-2
Brad Fuller wrote:

> Brad Fuller wrote:
>> I previously wrote:
>>> Running on my Linux (gentoo) system, sq3.9-7067dev07.08.1 does not
>>> accept *mp3*
>>> drops to the World. The result is: nothing happens. How come?
>>> On the standard 3.9-7067 system, dropping an *MP3* file on the World
>>> results in
>>> a player to play the *mp3* file.
>>>
>>> brad
>>>
>>> BTW: not all *MP3* files are accepted on the World as a dropped
>>> file. Does
>>> anyone know why? I haven't dug at all into it, so I'm assuming it
>>> has to do
>>> with the limitations of the *mp3* decoder. Anyone enlighten me?
>>>
>>>
>>> Hi brad in squeak 7137 (basic not dev) I’ve noticed
>>> that dropping projects on to the window sometimes will
>>> load the project and sometimes not. It seems very
>>> related to where I drop things.
>>>
>>> So I don’t think the problem is specific to *MP3* files.
>>> It seems to me a mantis report is in order.
>>> Want to start one?
>>>
>>> Yours in curiosity and service, --Jerome Peace
>>
>> Ok, On XP, I seem to be able to drop MP3's on the 3.8 and 3.9 World just
>> fine and a soundplayer appears and the file plays fine. But, not on 3.10
>> squeak-dev (3.10beta #7145) - the result is the file contents in a
>> system window; no soundplayer morph.
>> Is this a symptom that others see? If so, I'll write it up on mantis.
> Looks like no one has had time to confirm this.. or not many people
> with MP3s to drop ;-)
> From Edgar's msg re: MoviePlayerMorph being removed to reduce 3.10
> size, maybe this functionality has been removed as well. I looked for
> this functionality in 3.9 but can't really find it. If someone could
> just point me to some places to look, I'll do the looking.

PasteUpMorph>>dropFiles: anEvent  first looks for registered
ExternalDropHandlers to handle the file ( pr , image etc.. ). It then
searches for file reader services using FileList class>>itemsForFile:
fileName and creates and ExternalDropHandler for a chosen service.

File reader services implement fileReaderServicesForFile: fullName
suffix: suffix  on their class side returning an instance of
SimpleServiceEntry which MPEGMoviePlayerMorph does, opening a player on
the dropped mp3 / mpeg file.

Travis

>
> thanks,
> brad
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Brad Fuller-2
Travis Kay wrote:
> PasteUpMorph>>dropFiles: anEvent  first looks for registered
> ExternalDropHandlers to handle the file ( pr , image etc.. ). It then
> searches for file reader services using FileList class>>itemsForFile:
> fileName and creates and ExternalDropHandler for a chosen service.
>
> File reader services implement fileReaderServicesForFile: fullName
> suffix: suffix  on their class side returning an instance of
> SimpleServiceEntry which MPEGMoviePlayerMorph does, opening a player
> on the dropped mp3 / mpeg file.

Thanks Travis! Much appreciated!


Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Ralph Johnson
You can find a description of what has happened in 3.10 at
http://wiki.squeak.org/squeak/5975

In particular, look at the first link, because almost all the deletion
happened at the very beginning.  Unfortunately, the first link is more
a discussion of the various experiments that Edgar was trying, rather
than a description of what he eventually did.  I believe that
CandidatesForGo is a description of what he finallly did, and you will
find it near the end of that page.

Once you figure out what needs to be reloaded to make MP3s work,
please consider turning it all into a package and putting it in
Package Universe so that other people can easily load it.

Thanks!

-Ralph

Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Edgar J. De Cleene



El 10/9/07 8:17 AM, "Ralph Johnson" <[hidden email]> escribió:

> In particular, look at the first link, because almost all the deletion
> happened at the very beginning.  Unfortunately, the first link is more
> a discussion of the various experiments that Edgar was trying, rather
> than a description of what he eventually did.  I believe that
> CandidatesForGo is a description of what he finallly did, and you will
> find it near the end of that page.
>
> Once you figure out what needs to be reloaded to make MP3s work,
> please consider turning it all into a package and putting it in
> Package Universe so that other people can easily load it.
>
> Thanks!
>
> -Ralph

At the moment I can't connect with the 3.10 repository (server down ?)
When I have connection again I put all ripped packcages into.
('Flash' 'StarSqueak' 'SmaCC' 'Speech' 'Movies' 'FixUnderscores' 'OB'
'OmniBrowser' ) is not more on base.
CandidatesForGo is the Morphs not more in image, any people missing some
Morphs could load from 3.10 repository
For proper mp3 working, you need load Movies and maybe some morph.
Following my Ladrillos idea, we found what a "MoviesAndMP3" need all for
proper work.
At this moment, means the only way is made a .sar.
Almost a year ago I suggest we must have modified Monticello packages for
having not only code into , but also any needed files (.moprh,
.pmg/.gif/.png, .wav, .mp3).
I put a Morphic-Puzzle-edc.2.mcz into Ladrillos of SqueakSource.
    Timestamp    is  2006-12-07 ...
Of course , you need a modified Monticello.
Maybe a Monticello 1/4 ?
I have...

Edgar




Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Brad Fuller-2
In reply to this post by Ralph Johnson
Ralph Johnson wrote:

> You can find a description of what has happened in 3.10 at
> http://wiki.squeak.org/squeak/5975
>
> In particular, look at the first link, because almost all the deletion
> happened at the very beginning.  Unfortunately, the first link is more
> a discussion of the various experiments that Edgar was trying, rather
> than a description of what he eventually did.  I believe that
> CandidatesForGo is a description of what he finallly did, and you will
> find it near the end of that page.
>
> Once you figure out what needs to be reloaded to make MP3s work,
> please consider turning it all into a package and putting it in
> Package Universe so that other people can easily load it.
>  
I think I got it all back together. I'll need to test a bit before I
place it in the Package Universe (also have to figure that out. I think
there was a msg here that pointed to the recipe)

Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Brad Fuller-2
In reply to this post by Edgar J. De Cleene
Edgar J. De Cleene wrote:

El 10/9/07 8:17 AM, "Ralph Johnson" [hidden email] escribió:

  
In particular, look at the first link, because almost all the deletion
happened at the very beginning.  Unfortunately, the first link is more
a discussion of the various experiments that Edgar was trying, rather
than a description of what he eventually did.  I believe that
CandidatesForGo is a description of what he finallly did, and you will
find it near the end of that page.

Once you figure out what needs to be reloaded to make MP3s work,
please consider turning it all into a package and putting it in
Package Universe so that other people can easily load it.

Thanks!

-Ralph
    

At the moment I can't connect with the 3.10 repository (server down ?)
When I have connection again I put all ripped packcages into.
('Flash' 'StarSqueak' 'SmaCC' 'Speech' 'Movies' 'FixUnderscores' 'OB'
'OmniBrowser' ) is not more on base.
  

Ok Edgar, I didn't see your message. I replied to Ralph indicating I'd put what I found in the Package Universe. But, it sounds like you already have it taken care of -- and most likely to exact classes needed (since you removed them.)

Where is the 3.10 repo? Would it not be better to place them in the Package Universe?


CandidatesForGo is the Morphs not more in image, any people missing some
Morphs could load from 3.10 repository
For proper mp3 working, you need load Movies and maybe some morph.
Following my Ladrillos idea, we found what a "MoviesAndMP3" need all for
proper work.
At this moment, means the only way is made a .sar.
Almost a year ago I suggest we must have modified Monticello packages for
having not only code into , but also any needed files (.moprh,
.pmg/.gif/.png, .wav, .mp3).
I put a Morphic-Puzzle-edc.2.mcz into Ladrillos of SqueakSource.
    Timestamp    is  2006-12-07 ...
Of course , you need a modified Monticello.
Maybe a Monticello 1/4 ?
I have...

Edgar





  



Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Edgar J. De Cleene



El 10/9/07 12:08 PM, "Brad Fuller" <[hidden email]> escribió:

> Where is the 3.10 repo? Would it not be better to place them in the Package
> Universe?
By default, all 3.10 images could load from it.
It's the last on right panel of Monticello Browser
At the moment , none of the ripped packages is into the repository, but soon
I put they.
Seems now it's working , so I could continue the updates.

Still I must process scattered request.
Some people just don't follow our procedure :=)

See http://wiki.squeak.org/squeak/5919 " The 3.10 release"
http://wiki.squeak.org/squeak/5975 " History of the 3.10 release" (Now you
have a yellow reminder of what was harvested into images)
http://wiki.squeak.org/squeak/5934 " List of Mantis issues ready to be
included in 3.10"
http://wiki.squeak.org/squeak/5990 " Complaints about how 3.10 is going"

Edgar






Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Edgar J. De Cleene
In reply to this post by Brad Fuller-2



El 10/9/07 12:08 PM, "Brad Fuller" <[hidden email]> escribió:

> Ok Edgar, I didn't see your message. I replied to Ralph indicating I'd put
> what I found in the Package Universe. But, it sounds like you already have it
> taken care of -- and most likely to exact classes needed (since you removed
> them.)

All comes to who beg enough !

FileIn into Squeak 3.10.
Drag and drop your favorite .mp3
If you wish listen remote tango recorded from vinilo 33 1/3, let me know.

Edgar




MoviesFor3.10.3.cs.gz (64K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Brad Fuller-2
Edgar J. De Cleene wrote:

El 10/9/07 12:08 PM, "Brad Fuller" [hidden email] escribió:

  
Ok Edgar, I didn't see your message. I replied to Ralph indicating I'd put
what I found in the Package Universe. But, it sounds like you already have it
taken care of -- and most likely to exact classes needed (since you removed
them.)
    

All comes to who beg enough !

FileIn into Squeak 3.10.
Drag and drop your favorite .mp3
If you wish listen remote tango recorded from vinilo 33 1/3, let me know.
  

I like tango, you probably have some good recordings.

Gosh Edgar, I wish I knew you were doing this... I had no idea. I had already done it, although maybe I didn't get all the needed parts. So far it has worked fine.

I checked your attachment and I didn't see UpdatingTextMorph in there - but maybe I missed it. It's needed for the MPEG subtitles display. It's attached.

Thanks again!

brad

'From Squeak3.9 of 7 November 2006 [latest update: #7067] on 8 October 2007 at 4:54:36 pm'!
TextMorph subclass: #UpdatingTextMorph
        instanceVariableNames: 'target getSelector growable stepTime'
        classVariableNames: ''
        poolDictionaries: ''
        category: 'MorphicExtras-Widgets'!
!UpdatingTextMorph commentStamp: 'asm 7/31/2003 21:27' prior: 0!
A TextMorph that constantly tries to show the current data from the target object.  When sent #step, it shows what the target objects has (target perform: getSelector).!


!UpdatingTextMorph methodsFor: 'accessing' stamp: 'dgd 3/7/2004 20:16'!
getSelector
        "answer the receiver's getSelector"
        ^ getSelector! !

!UpdatingTextMorph methodsFor: 'accessing' stamp: 'dgd 3/7/2004 20:16'!
getSelector: aSymbol
        "change the receiver's getSelector"
        getSelector := aSymbol! !

!UpdatingTextMorph methodsFor: 'accessing' stamp: 'dgd 3/7/2004 20:17'!
target
        "answer the receiver's target"
        ^ target! !

!UpdatingTextMorph methodsFor: 'accessing' stamp: 'dgd 3/7/2004 20:17'!
target: anObject
        "change the receiver's target"
        target := anObject! !


!UpdatingTextMorph methodsFor: 'initialization' stamp: 'dgd 3/7/2004 20:17'!
initialize
        "Initialie the receiver to have default values in its instance  
        variables"
        super initialize.""
        stepTime := 50! !


!UpdatingTextMorph methodsFor: 'stepping and presenter' stamp: 'dgd 3/8/2004 20:34'!
step
        "update my contents"
        | newContents |
        super step.
        ""
        newContents := self contentsFromTarget.
        self visible: newContents isEmpty not.
        self contents: newContents! !

!UpdatingTextMorph methodsFor: 'stepping and presenter' stamp: 'dgd 3/7/2004 20:19'!
stepTime
        "answer the desired time between steps in milliseconds."
        ^ stepTime
                ifNil: [50]! !

!UpdatingTextMorph methodsFor: 'stepping and presenter' stamp: 'dgd 3/7/2004 20:19'!
stepTime: mSecsPerStep
        "change the receiver's stepTime"
        stepTime := mSecsPerStep rounded! !


!UpdatingTextMorph methodsFor: 'target access' stamp: 'nk 8/30/2004 16:18'!
contentsFromTarget
        "private - answer the contents from the receiver's target"
        (target isNil
                        or: [getSelector isNil])
                ifTrue: [^ self contents].
        ""
        ^ (target perform: getSelector) asString! !

"-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- "!

UpdatingTextMorph class
        instanceVariableNames: ''!

!UpdatingTextMorph class methodsFor: 'instance creation' stamp: 'dgd 3/8/2004 20:31'!
on: targetObject selector: aSymbol
        "answer a new instance of the receiver on a given target and selector"
        ^ self new getSelector: aSymbol;
                 target: targetObject! !


Reply | Threaded
Open this post in threaded view
|

Re: Dropping mp3 on 3.10 world - doesn't work like 3.9/3.8

Edgar J. De Cleene



El 10/11/07 3:48 PM, "Brad Fuller" <[hidden email]> escribió:

> I like tango, you probably have some good recordings.
>
> Gosh Edgar, I wish I knew you were doing this... I had no idea. I had already
> done it, although maybe I didn't get all the needed parts. So far it has
> worked fine.
>
> I checked your attachment and I didn't see UpdatingTextMorph in there - but
> maybe I missed it. It's needed for the MPEG subtitles display. It's attached.
>
> Thanks again!
>
> brad

Got the how to drag and drop ? Very good for  you.
Woops! I check with mp3, not with mpeg.
So you could publish the right on Universes ?

Send private mail so I could publish the right directory via Comanche.
Klaus says he could listen in Switzerland.
Edgar