Click Here
home features news forums classifieds faqs links search
5855 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
63 crawler(s) on-line.
 30 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 amigakit:  17 mins ago
 matthey:  18 mins ago
 che:  20 mins ago
 MaximvsPayne:  23 mins ago
 Chris_Y:  23 mins ago
 DiscreetFX:  28 mins ago
 Cheese:  29 mins ago
 kolla:  35 mins ago
 eliyahu:  41 mins ago
 pneron:  54 mins ago

/  Forum Index
   /  MorphOS Software
      /  How add to MIME type of MorphOS the hwa extension
Register To Post

PosterThread
Templario 
How add to MIME type of MorphOS the hwa extension
Posted on 17-Dec-2015 13:07:52
#1 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3573
From: Unknown

How add the hwa Hollywood applet file format to MIME type of MorphOS, to the applet format is load for the Hollywood Player directly as other cases.

_________________
Free programs&games:
http://www.morguesoft.eu

 Status: Offline
Profile     Report this post  
jPV 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 17-Dec-2015 14:34:28
#2 ]
Cult Member
Joined: 11-Apr-2005
Posts: 702
From: .fi

@Templario

It's a bit more complicated because Ambient file format recognition database doesn't have a pre-made entry for it, but I'd do it like this... not sure if official would be similar if it's added some day, but maybe quite close :) With this you'll get a mime type for hwa applets and doubleclicking those will launch them in HollywoodPlayer. You can add context menu entries etc from Ambient prefs yourself afterwards if you want more options.

Create a new file to SYS:Prefs/Ambient/filetypes/application/x-hollywoodapplet
with this content:


AMTD
1
Name Hollywood Applet
Type application/x-hollywoodapplet
Match
PatternHint #?.hwa
Match sHWZ
End
Action
Name Play with HollywoodPlayer
Event DoubleClick
Command AMIGADOS Run >NIL: SYS:Utilities/HollywoodPlayer %sp
End
End

Last edited by jPV on 17-Dec-2015 at 02:41 PM.

_________________
- The wiki based MorphOS Library - Your starting point for MorphOS
- Software made by jPV^RNO

 Status: Offline
Profile     Report this post  
Templario 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 17-Dec-2015 16:26:13
#3 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3573
From: Unknown

@jPV
Thank you very much, it works very well, and it is perfect to make little scripts in applet format instead of executables files with much space.
Thanks for your help.

I write your answer in the Hollywood forum, to help the programmes under MorphOS
http://forums.hollywood-mal.com/viewtopic.php?f=10&t=1249

Last edited by Templario on 17-Dec-2015 at 04:32 PM.

_________________
Free programs&games:
http://www.morguesoft.eu

 Status: Offline
Profile     Report this post  
jPV 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 28-Dec-2015 8:44:40
#4 ]
Cult Member
Joined: 11-Apr-2005
Posts: 702
From: .fi

It's now confirmed, that the next MorphOS update will have this filetype added to the Ambient's recognition database in this same form. Although it doesn't have the action part pre-configured because it's a 3rd party app, but MorphOS will recognize the files and configuration is available from the Mime settings.

So, it's perfectly valid to do it like I suggested already.

And if for example the author of Hollywood wants to configure the filetype in HollywoodPlayer's installation script, it can be done in this same way by creating the file with the previously mentioned contents. It just has to be checked that there isn't any existing file (== user configured mimetype) before creating a new one.

And starting from the next MorphOS release, the Match part could be skipped.. but it doesn't do harm if it's left there to support older MorphOS installations...

Last edited by jPV on 28-Dec-2015 at 09:07 AM.

_________________
- The wiki based MorphOS Library - Your starting point for MorphOS
- Software made by jPV^RNO

 Status: Offline
Profile     Report this post  
Templario 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 28-Dec-2015 9:14:33
#5 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3573
From: Unknown

@jPV
Thanks, when will be available the next MorphOS versión?

_________________
Free programs&games:
http://www.morguesoft.eu

 Status: Offline
Profile     Report this post  
jPV 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 28-Dec-2015 9:34:02
#6 ]
Cult Member
Joined: 11-Apr-2005
Posts: 702
From: .fi

I don't know.

_________________
- The wiki based MorphOS Library - Your starting point for MorphOS
- Software made by jPV^RNO

 Status: Offline
Profile     Report this post  
Templario 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 28-Dec-2015 9:46:40
#7 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3573
From: Unknown

@jPV
Ok, thanks.

_________________
Free programs&games:
http://www.morguesoft.eu

 Status: Offline
Profile     Report this post  
TRIPOS 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 28-Dec-2015 13:23:33
#8 ]
Super Member
Joined: 4-Apr-2014
Posts: 1049
From: Unknown

@jPV

Quote:

jPV wrote:
It's now confirmed, that the next MorphOS update will have this filetype added to the Ambient's recognition database in this same form. Although it doesn't have the action part pre-configured because it's a 3rd party app, but MorphOS will recognize the files and configuration is available from the Mime settings.


That's good, and thanks for your efforts regarding this!

 Status: Offline
Profile     Report this post  
TRIPOS 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 28-Dec-2015 13:23:58
#9 ]
Super Member
Joined: 4-Apr-2014
Posts: 1049
From: Unknown

@jPV

Quote:

jPV wrote:
It's now confirmed, that the next MorphOS update will have this filetype added to the Ambient's recognition database in this same form. Although it doesn't have the action part pre-configured because it's a 3rd party app, but MorphOS will recognize the files and configuration is available from the Mime settings.


That's good, and thanks for your efforts regarding this!

 Status: Offline
Profile     Report this post  
Templario 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 29-Dec-2015 15:47:20
#10 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3573
From: Unknown

@jPV
If you add the command: -QUIET
to the mime type file:

AMTD
1
Name Hollywood Applet
Type application/x-hollywoodapplet
Match
PatternHint #?.hwa
Match sHWZ
End
Action
Name Play with HollywoodPlayer
Event DoubleClick
Command AMIGADOS Run >NIL: SYS:Utilities/HollywoodPlayer %sp -QUIET
End
End

The Hollywod Player open directly the Holywood app, no started the Player.

_________________
Free programs&games:
http://www.morguesoft.eu

 Status: Offline
Profile     Report this post  
jPV 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 29-Dec-2015 16:57:53
#11 ]
Cult Member
Joined: 11-Apr-2005
Posts: 702
From: .fi

@Templario

OK, good to know, thanks.

_________________
- The wiki based MorphOS Library - Your starting point for MorphOS
- Software made by jPV^RNO

 Status: Offline
Profile     Report this post  
Templario 
Re: How add to MIME type of MorphOS the hwa extension
Posted on 29-Dec-2015 21:29:46
#12 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3573
From: Unknown

@jPV
Thanks for your help with my problems with applet and your mime config file.

_________________
Free programs&games:
http://www.morguesoft.eu

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle