Pretty new using this, have tried multiple methods and reading the docs without luck.
Is there a way to add a custom query to a playlist to be parsed by foo_youtube at a later point (or on load)?
For ex. if I click into any track, 'Youtube Source\Substitute with a search item\Auto', the handle is replaced with a item pointing to youtube.api.video?query=The+Human+Experience+-+Slow+down&skip_next=1&ssc=mAEB
Clicking on it searchs the item (I suppose it gets only the first result) and replaces the item with a youtube search. That's fine.
www.youtube.com/watch?v=eOP5cW1lfd4
Now the problem is... How can I add an arbitrary query? i.e. If I try to add a query like this using add locations, it fails.
youtube.api.video?query=Gary+Clark+Jr.+-+Things+are+changin%27&skip_next=1&ssc=mAEB
Have also tried with:
3dydfy://youtube.api.video?query=Gary+Clark+Jr.+-+Things+are+changin%27&skip_next=1&ssc=mAEB
fy+youtube.api.video?query=Gary+Clark+Jr.+-+Things+are+changin%27&skip_next=1&ssc=mAEB
Why:
Since there is already a youtube component able to process queries, the idea is to create arbitrary queries (it may be from a playlist or SMP scripts) to be processed by the component. Current approach in other scripts like Find&Play scrape youtube first to get a full working link, for every item, to then be processed by the component, which is pretty redundant.
Life would be much simpler if we could simply pass the query to the component and let it perform the search with or without the API, instead of duplicating the processing.