svxlink icon indicating copy to clipboard operation
svxlink copied to clipboard

playFile relative path does not seem to work, only absolute ?

Open hayden-t opened this issue 4 years ago • 5 comments

image https://github.com/sm0svx/svxlink/wiki/InstallationInstructions#the-event-handling-subsystem

Not sure if its a bug or the wiki page just needs updating.

hayden-t avatar Aug 16 '21 04:08 hayden-t

In practice relative path works fine. If the DEFULT_LANG is set correctly then I've never had any problem with playing a file set by play. playFile on the other hand I've never used, never setting the parameter in Logic.tcl. Chris

On Mon, 16 Aug 2021, 05:19 hayden-t, @.***> wrote:

[image: image] https://user-images.githubusercontent.com/1000743/129510888-67e5204d-3e4e-4ba4-a6b9-25c606cfee0b.png

https://github.com/sm0svx/svxlink/wiki/InstallationInstructions#the-event-handling-subsystem

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5DE3NL2TZ26SQCCWX3T5CGVPANCNFSM5CG54XOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

f5vmr avatar Aug 16 '21 07:08 f5vmr

where is play method ? i do not see it

hayden-t avatar Aug 16 '21 07:08 hayden-t

The playSound and other commands are found in the .tcl logic files. Unless you know what your doing and copy the files to a new directory called local to protect the originals, you risk damage. The files normally reside at /usr/share/svxlink/events.d but creating a directory called local here gives copies you can work on, that SVXLink takes in preference when they are edited. Warning - make changes at your own risk. The play commands come in many forms, play, playSound, CW::play and spell commands too.

Chris

On Mon, 16 Aug 2021, 08:54 hayden-t, @.***> wrote:

where is play method ? i do not see it

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/556#issuecomment-899301760, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5F6VYSH3I7YNPXMUN3T5C72HANCNFSM5CG54XOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

f5vmr avatar Aug 16 '21 08:08 f5vmr

The only file you should look at is Logic.tcl being attentive to syntax.

Chris

On Mon, 16 Aug 2021, 08:54 hayden-t, @.***> wrote:

where is play method ? i do not see it

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/556#issuecomment-899301760, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5F6VYSH3I7YNPXMUN3T5C72HANCNFSM5CG54XOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

f5vmr avatar Aug 16 '21 08:08 f5vmr

I know all about this. you are not talking about the functions im talking about in my issue.

hayden-t avatar Aug 16 '21 09:08 hayden-t