i might be wrong though, i am not a "heavy reader" here.
You support adding music files over a URL but in my weird case it doesn't work. I try to add a youtube URL, when I have the foobar Youtube component installed (foo_youtube).This depends on how foo_youtube and foobar2000 core interpret the URLs. Probably foo_youtube has it's own URL scheme (e.g. not https://) and its custom UI produces playlist items with that scheme, so foobar2000 core could interpret them correctly.
Adding plain https:// URL likely would be interpreted as a regular HTTP stream source.
Any chance you can take a look at it or tell me where to check in the source code?I'll take a look at this, probably it could be done on either client or server side, I'm not sure which is better
so... is 1.3 now the recommended version to use?Why wouldn't the last version of anything be the recommended version to use?
for example, change https to ytdl for soundcloud
About your album art link question, there are already multiple ways to achieve that. You could for example add a tag COVER where you write the name of the image you want to use. Then configure foobar2000 to look for images from that tag field under Preferences -> Display -> Album art. For example if you store cover images in C:\Covers you could add C:\Covers\%COVER% to the list.
At least I know I'm not alone on this one, so is this just a "sit tight and wait for MS to fix their bug" kind of thing?
What is the bug exactly, if I were to report the bug what would I say... I just wanna make sure MS know about it to some degree.
Please let me know? I'd have to spend hundreds of dollar for a radio station automation subscription for such a simple need.
- get_guid : I assume it's used to get guid of the output deviceIn g_get_guid() you return the GUID of your component. Use the Create GUID menu command in Visual Studio to generate your own.
Individual ASIO devices you would handle in g_enum_devices(). The callback has function on_device() which you call with the GUID and the name of each ASIO device.
- output constructor : in case of Asio, init (and open ?) the driverYes. The constructor will only be called when playback starts with your output.
- get_latency : seems to be used to know the length of sample to be playedYou return how many seconds the playback is delayed. This includes the amount of data you have buffered and the latency of the output, if you know it.
But in which buffers samples are stored ? Is there some helpers functions ?
You allocate the buffer. Your constructor is told how many seconds of buffer user has requested so use that to calculate how many bytes you need.
- update : Which is the purpose ?? Also there is an on_update() function (currently commented in my impl)You tell the core if you have space in your buffers to take more bytes. Once you have room in buffers and you inform the core, process_samples() will get called with new data.
Apart SDK, could somebody shows me sample code ?There's saivert's pipe output. Though it doesn't do everything and doesn't calculate accurate latencies.