How to associate an "opus" file to TC?

Support for Android version of Total Commander

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

How to associate an "opus" file to TC?

Post by *Hurdet »

How to associate opus file to TC?
I can open it with "open as music", but I can't associate every to TC here.
If I instead try "open with" TC is missing.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: How to associate an "opus" file to TC?

Post by *Stefan2 »

-- what is "OPUS" here (have an link)?
-- how is the file extension of such an OPUS file?
-- how is the path to the interpreter for OPUS files?
FORGET THIS below writing

Sorry, missed again this was about Android







Do you know the "Internal Associations"-page from the help?
"Internal Associations (Total Commander Only)"

Me think, the normal behavior is like this:
Stefan2 wrote: 2019-02-15, 09:32 UTC  
For installed Office, try to associate Excel internal in TC with file type XLSX:

Menu "Files >"Internal Associations (Total Commander Only)"
- [Add...]
- Specify file type: *.xlsx (((on default, the extension of the selected file while open this dialog, is taken)))
- [OK]

- Open [_____] [>>] choose your application >>>> "C:\Program Files (x86)\Microsoft Office\root\OfficeXX\EXCEL.EXE" >>> [OK]

- Note that there is a "%1" added, to pass the selected file(s) as argument to that application.
"C:\Program Files (x86)\Microsoft Office\root\OfficeXX\EXCEL.EXE" "%1"
- [OK]

- [OK]
 

 
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: How to associate an "opus" file to TC?

Post by *Hurdet »

I'm writing about android TC.
.OPUS is a audio format extension.
Also if internally associtate to TC player I have every to confirm when open and not run directly.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: How to associate an "opus" file to TC?

Post by *Stefan2 »

Hurdet wrote: 2024-08-23, 13:26 UTC I'm writing about android TC.

Sorry, missed again this is about Android





 
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: How to associate an "opus" file to TC?

Post by *Usher »

2Hurdet
Did you read topic about dots in filename?
https://www.ghisler.ch/board/viewtopic.php?t=82991
Andrzej P. Wozniak
Polish subforum moderator
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: How to associate an "opus" file to TC?

Post by *Hurdet »

Isn't the relation clear to me?
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: How to associate an "opus" file to TC?

Post by *Usher »

2Hurdet
There is no "extension" on Android.
Andrzej P. Wozniak
Polish subforum moderator
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: How to associate an "opus" file to TC?

Post by *Hurdet »

Usher wrote: 2024-08-24, 02:20 UTC There is no "extension" on Android.
I have not written about this, the question is like opening the opus file with a click.
If rename .opus to .ogg TC open it directly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to associate an "opus" file to TC?

Post by *ghisler(Author) »

You could try creating an internal association, but that would only work when opening the file from Total Commander, not from other programs.
Author of Total Commander
https://www.ghisler.com
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: How to associate an "opus" file to TC?

Post by *Hurdet »

I created a internal association:
&TotalCmd (Queue):com.ghisler.android.TotalCommander:.MediaPlayerActivity:audio/*
but when click the file byt when I click, TC still asks me how to open it instead of doing it directly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to associate an "opus" file to TC?

Post by *ghisler(Author) »

Make sure to also check "content:// URL" but not "Command: Play (foreground)". The latter is meant for overriding the context menu item "Play (foreground)".
Author of Total Commander
https://www.ghisler.com
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: How to associate an "opus" file to TC?

Post by *Hurdet »

Solved, ty.
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: How to associate an "opus" file to TC?

Post by *Usher »

Hurdet wrote: 2024-08-24, 06:27 UTC If rename .opus to .ogg TC open it directly.
So it wasn't a problem with dots in a filename. However, this problem really exist, see messages about .json extension:

https://www.ghisler.ch/board/viewtopic.php?p=459158#p459105
https://www.ghisler.ch/board/viewtopic.php?p=459158#p459250
Using internal association may help also in such cases.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply