problem compiling aud_playlist_get_playing aud_playlist_get_title #1

Closed
opened 2021-09-25 20:18:08 +00:00 by themusicgod1 · 1 comment
Owner

C++ compiler not finding 2 functions and a method… meh.

audacious.cc: In function ‘gchar* get_title()’:
audacious.cc:152:40: error: ‘aud_playlist_get_playing’ was not declared in this scope; did you mean ‘aud_drct_get_playing’?
  152 |  String title = aud_playlist_get_title(aud_playlist_get_playing());
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                        aud_drct_get_playing
audacious.cc:152:17: error: ‘aud_playlist_get_title’ was not declared in this scope; did you mean ‘aud_drct_get_title’?
  152 |  String title = aud_playlist_get_title(aud_playlist_get_playing());
      |                 ^~~~~~~~~~~~~~~~~~~~~~
      |                 aud_drct_get_title
audacious.cc:153:24: error: ‘class String’ has no member named ‘to_raw’
  153 |  return (gchar*) title.to_raw();
      |
C++ compiler not finding 2 functions and a method… meh. ``` audacious.cc: In function ‘gchar* get_title()’: audacious.cc:152:40: error: ‘aud_playlist_get_playing’ was not declared in this scope; did you mean ‘aud_drct_get_playing’? 152 | String title = aud_playlist_get_title(aud_playlist_get_playing()); | ^~~~~~~~~~~~~~~~~~~~~~~~ | aud_drct_get_playing audacious.cc:152:17: error: ‘aud_playlist_get_title’ was not declared in this scope; did you mean ‘aud_drct_get_title’? 152 | String title = aud_playlist_get_title(aud_playlist_get_playing()); | ^~~~~~~~~~~~~~~~~~~~~~ | aud_drct_get_title audacious.cc:153:24: error: ‘class String’ has no member named ‘to_raw’ 153 | return (gchar*) title.to_raw(); | ```
Author
Owner

fixed in a8273c1136

fixed in a8273c1136
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: themusicgod1/evacuated-infinity-plugin#1
No description provided.