Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP3.playing method throws an error #6

Open
ariutti opened this issue Jun 21, 2023 · 1 comment · May be fixed by #3
Open

MP3.playing method throws an error #6

ariutti opened this issue Jun 21, 2023 · 1 comment · May be fixed by #3

Comments

@ariutti
Copy link

ariutti commented Jun 21, 2023

I get an error when evaluating the .playing method on an MP3 object.

I'm using this code:

s.boot;

m = MP3("http://manager8.streamradio.fr:1600/stream", \readurl);
m.start;

and evaluating this line m.playing; I get the following error:

ERROR: Message 'isPIDRunning' not understood.
Perhaps you misspelled 'pidRunning', or meant to call 'isPIDRunning' on another receiver?
RECEIVER:
   Integer 14757
ARGS:
PATH: /home/nicola/Documents/repos/sketchbooks/SC_sketchbook/MP3/read_ice_radios_from_internet.scd
CALL STACK:
	DoesNotUnderstandError:reportError
		arg this = <instance of DoesNotUnderstandError>
	Nil:handleError
		arg this = nil
		arg error = <instance of DoesNotUnderstandError>
	Thread:handleError
		arg this = <instance of Thread>
		arg error = <instance of DoesNotUnderstandError>
	Object:throw
		arg this = <instance of DoesNotUnderstandError>
	Object:doesNotUnderstand
		arg this = 14757
		arg selector = 'isPIDRunning'
		arg args = [*0]
	MP3:playing
		arg this = <instance of MP3>
	Interpreter:interpretPrintCmdLine
		arg this = <instance of Interpreter>
		var res = nil
		var func = <instance of Function>
		var code = "m.playing;"
		var doc = nil
		var ideClass = <instance of Meta_ScIDE>
	Process:interpretPrintCmdLine
		arg this = <instance of Main>
^^ ERROR: Message 'isPIDRunning' not understood.
Perhaps you misspelled 'pidRunning', or meant to call 'isPIDRunning' on another receiver?
RECEIVER: 14757

Think is because of the wrong .isPIDRunning method on line 155 in MP3.sc file.
Maybe it should be substitued with .pidRunning ?

I'm working on a Ubuntu Studio 22.04 with a supercollider 3.12.2

@ariutti
Copy link
Author

ariutti commented Jun 21, 2023

sorry, I've just noticed that the error I get has already been noticed by other users here.

@dyfer dyfer linked a pull request Jun 21, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant