Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
90 user(s) are online (74 user(s) are browsing Forums)

Members: 1
Guests: 89

Steady, more...

Support us!

Headlines




« 1 (2) 3 4 5 6 »


Re: MediaVault releases
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4160
@walkero

SpecFX

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: MediaVault releases
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 881
@Raziel
From a few first tests, it seems that using the WBRun it doesn't take the parameters, so I can't feed it with the stream URL. But I will investigate it further.

In later versions, I intend to be able to use Rexx scripts, which can be set by the user. Then, I believe it will be able to start the player and give it the URL using Rexx.

   Report Go to top

Re: MediaVault releases
Just can't stay away
Joined:
2006/12/1 18:01
From Copenhagen, Denmark
Posts: 1246
@walkero

I have an ARexx script that I made a long time ago for sending files to be played by AmigaAmp. The relevant part off it is the following subroutine; in case you find something useful in it, you're welcome to copy/be inspired as you wish:

playitprocedure expose PlayerPortname PlayerPath
parse arg currfile
currfile 
strip(currfile'B''"')
if ~
show('P'PlayerPortnamethen do
  
myCmd "wbrun " || PlayerPath
  address command myCmd
end

do while ~show('P'PlayerPortname)
  
address command 'WaitForPort "' || PlayerPortname || '"'
end

AddCmd 
'ADD "' || currfile || '"'
prevPort address()
address value PlayerPortname
AddCmd
'STATUS'
if RESULT ~= "PLAY" then do
  
'PLAY'
end
address value prevPort

return

Best regards,

Niels

   Report Go to top

Re: MediaVault releases
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 881
@nbache
Your script looks awesome. Yeah, if I am allowed to include it, I would be honored to do so. It needs some work on MediaVault side though.

Thank you so much nbache.


Edited by walkero on 2021/5/18 17:09:58
   Report Go to top

Re: MediaVault releases
Just can't stay away
Joined:
2006/12/1 18:01
From Copenhagen, Denmark
Posts: 1246
@walkero

You're welcome.

Yeah, obviously, it is just to illustrate a way to WBRun the player and follow up with the commands you actually want it to do, once it is up and listening. In your case you don't want to add files to the playlist, but to do whatever you need to do to play the URL (haven't tried using AmigaAmp for anything else than playing files myself, so I don't know what that command would be).

So use what you can and change the necesssary parts to do what you need.

Best regards,

Niels

   Report Go to top

Re: MediaVault releases
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4160
@walkero

Resized Image
Is it possible to translate the broken characters to human readable form?
Not that i speak or read russian, but utf8 (is it?) should support it, shouldn't it?

Also, note the broken accented character in Bogotà

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: MediaVault releases
Just popping in
Joined:
2007/1/10 21:56
From Stockholm Sweden
Posts: 179
@walkero
I really enjoy Mediavault!
My main player is AmigaAmp and have been for?
16 years?

I used to listen to IRadio on Tunenet but now it's straight
Mediavault and AmigaAmp. Good work!

@Raziel
Russki Black Metal channels show correctly in my playlist,
think it's something with keyboard prefs. I had problems
before with SE layout in Odyssey popup menus,
but switched over to the other SE layout and all good.

Edit: SE = Sverige = Sweden. :)

_________________
1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX<-2021
   Report Go to top

Re: MediaVault releases
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4160
@khayoz

Nope, there are two opions in input (and locale).
Either english or english iso-8859-15 (same for locale)
Both display non readable characters.

Just search for cnr, set the country to china and enjoy

Maybe swedish fonts feature kyrillic and chinese signs, but german/english doesn't?

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: MediaVault releases
Just can't stay away
Joined:
2009/5/1 18:57
From Czech Republic
Posts: 1299
@Raziel

MediaVault currently doesn't convert from UTF-8 to the local charset. I'm working on the program today and I'll see what I can do about it.

Still, the font used in your system needs to support the particular characters. The fact that you have a Unicode font doesn't guarantee that the font designer went full length and put all characters in.

_________________
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: MediaVault releases
Just can't stay away
Joined:
2009/5/1 18:57
From Czech Republic
Posts: 1299
UTF-8 to local charset conversion now implemented. Tested for Czech, Slovak, Polish, Slovenian and Swedish - seems to work well.

_________________
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: MediaVault releases
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4160
@trixie

Hmm, i use Nimbus, DejaVu and Bitstream...i thought they are pretty generic (and widespread) when it comes to supported foreign characters?

Anyone know of a good looking font that can be used with AmigaOS and has all the foreign characters implemented?

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: MediaVault releases
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 881
trixie is my Amiga God :D

Daniel is right. The app doesn't do (or didn't do) any UTF8 to local charset, which is (or was) in my todo list. If Daniel managed to add it, the next public version will be full of awesome new features. Daniel adds features so fast ( slow down man :D ).

Glad you guys like MediaVault. Have in mind that what you see now is just a fraction of what this app will be.

Thanks again Daniel for the work you do and teaching me the right way to do programming on Amiga.

   Report Go to top

Re: MediaVault releases
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 881
@Raziel
It is not about the font, but the encoding. AmigaOS 4 doesn't have (yet) unicode (UTF8) support, so there is a need to make a conversion of the UTF8 to local charset (i.e. ISO-8859-7 for Greek). This is something that is necessary for all our applications, until the OS starts supporting the unicode globally, like other systems.

   Report Go to top

Re: MediaVault releases
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4160
@walkero

Ah, ok, that saves me lot of wasted time searching for the correct font

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: MediaVault releases
Just can't stay away
Joined:
2009/5/1 18:57
From Czech Republic
Posts: 1299
@Raziel

You'll still see ?????? for characters that your locale charset doesn't support. For example if you run a German locale, and some Russian online radios show their names in the Cyrillic. The UTF8 conversion is done but the original Cyrillic characters have nothing to correspond to in your locale charset.

_________________
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: MediaVault releases
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4160
@trixie

Ok, is there a general locale file somewhere (that could be used as fallback) if certain characters aren't found in the current?
Or one that has all characters?
Like world.locale?

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: MediaVault releases
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 881
I believe that you can add the necessary characters using TTFManager (if I recall right the name). I think it is under System. You use that with the TTF of choice, add the encoding of your language (ISO-8859-x) at the font family and generate again the fonts. If you set the locale to use first your language and then any other, the above I believe is done automatically for the default font you use.

But for me, for example, that I use WB in Greek, the Russian will not be shown right.

   Report Go to top

Re: MediaVault releases
Just can't stay away
Joined:
2006/12/1 18:01
From Copenhagen, Denmark
Posts: 1246
@Raziel

Quote:
Anyone know of a good looking font that can be used with AmigaOS and has all the foreign characters implemented?
I have an Arial Unicode MS (ARIALUNI.TTF) in my Fonts dir; I think I snatched it off some PC many years ago. There are others out there.

Its size is a bit over 23 MB, though. But it does seem to contain more or less everything someone could imagine being thrown at it, within 16-bit UniCode (i.e. not those new-fangled emoji extension pages).

Still, as posted later, it won't help if the texts displayed are converted to the locale charset, then they will be limited to that (8-bit) range of glyphs.

To see everything correctly, I think it would be necessary to explicitly print it as Unicode and use a font like mentioned above. Not sure how it's done exactly (some function in locale.library?), but I have seen it done. I think this is what the Locale Prefs does with the list of country names in their own languages (second tab)?

Best regards,

Niels

   Report Go to top

Re: MediaVault releases
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4160
@nbache

Slowly getting there with me understanding the underlying problem.

Thank you

Moral of the story...me shutting my trap and waiting for system utf8 support.

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: MediaVault releases
Just can't stay away
Joined:
2006/12/1 18:01
From Copenhagen, Denmark
Posts: 1246
@Raziel

Even with UTF-8, you'd still need a font containing all the glyphs.

Best regards,

Niels

   Report Go to top


« 1 (2) 3 4 5 6 »



[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project