calling external program via QtScript

2014-12-06 Thread Be
I'm looking to write a service extension with QtScipt for SoundCloud. It looks like most of the hard work has already been done by the Python program youtube-dl (https://rg3.github.io/youtube-dl/ ). Is there a way to call external programs via QtScript? I understand there is no way to do this in Ja

Re: calling external program via QtScript

2014-12-07 Thread Be
youtube-dl. On 12/06/2014 05:54 PM, Be wrote: > I'm looking to write a service extension with QtScipt for SoundCloud. It > looks like most of the hard work has already been done by the Python > program youtube-dl (https://rg3.github.io/youtube-dl/ ). Is there a way > to call exte

Hello and proposal/brainstorming for SoundCloud service

2014-12-10 Thread Be
a QtScript service plugin to stream from SoundCloud (attached), but it seems that Amarok's QtScript API will not be enough to really make use of SoundCloud's features. Is it possible to add to Amarok's GUI outside of populating the collection pane or putting simple HTML in the the in

Re: Hello and proposal/brainstorming for SoundCloud service

2014-12-11 Thread Be
UTC-6). I just started winter break from school, so my schedule will be flexible for the next month. However, my webcam is not very good and I do not have much lighting, so if you want to video chat it would need to be when I have sunlight. On 12/11/2014 01:22 PM, Myriam Schweingruber wrote: >

Re: Hello and proposal/brainstorming for SoundCloud service

2014-12-11 Thread Be
Good luck getting the job! It would be great if you could get SoundCloud to pay you to work on this. ;) On 12/11/2014 09:43 AM, Julian Simioni wrote: > Hi, > I like your idea of integrating SoundCloud to Amarok. I have contributed > (a tiny bit) to Amarok in the past, and know C++, Javs

Re: Hello and proposal/brainstorming for SoundCloud service

2014-12-11 Thread Be
On 12/11/2014 12:31 PM, Anmol Ahuja wrote: >> I started working on a QtScript service plugin to stream from SoundCloud >> (attached), but it seems that Amarok's QtScript API will not be enough >> to really make use of SoundCloud's features. Is it possible to add to >

Re: Hello and proposal/brainstorming for SoundCloud service

2014-12-12 Thread Be
No, I was using 2.8 stable. I tried it on the latest git and it works. On 12/12/2014 03:14 AM, Anmol Ahuja wrote: > > > I tried putting that code in the script (along with loading qt.gui). The > > script does not load and I see this in the debugging output: > > > > [ERROR__] [ScriptManager] "Scrip

QtScript service issues

2014-12-18 Thread Be
I have been working on the QtScript service for SoundCloud. It now searches for artists so the exact SoundCloud name does not have to be typed in. I am stuck on some confusing bugs. I can't find anything in the script (attached) that could explain any of these and I have been looking all d

Re: QtScript service issues

2014-12-19 Thread Be
I have found what triggers the first bug and figured out a work around. Level 2 items must have playableUrl set to an empty string. That does not make sense to me and I think indicates a bug in the scripting API. Regarding the last issue, it would be helpful if scripts could disable Amarok&#

Re: Hello and proposal/brainstorming for SoundCloud service

2014-12-21 Thread Be
I just filed a bunch of bug reports for issues I have encountered in the process of writing this script. This could all be done in QtScript with a few additions to the scripting API. If you want to help, implementing these features would be awesome: https://bugs.kde.org/show_bug.cgi?id=342089

SoundCloud script 0.2.1

2015-01-05 Thread Be
contribute, the biggest issue is that Amarok sorts everything in the collection tree alphabetically (http://kde-apps.org/content/show.php?content=168467 ). This is inconvenient when SoundCloud returns search results sorted by relevance and playlists in order. It would be nice if liking tracks and

Re: Bug 184325 - amarok wish: fetch lyrics from the ID3 lyrics tag

2015-01-27 Thread Be
On 01/05/2015 08:39 AM, Anmol Ahuja wrote: > As of current git, the scripting interface exposes lyrics tags with > other embedded metadata, and the default lyrics script already reads > and writes lyrics to tracks' lyrics tags. This does not work for me. Inserting Amarok.debug(embeddedLyrics); in

Re: Bug 184325 - amarok wish: fetch lyrics from the ID3 lyrics tag

2015-01-31 Thread Be
Nice, it works now. I think this implementation is awkward though. I don't think this should be left to each individual lyrics script to implement. Rather, Amarok should check if the file has lyrics in the tags first, then only run a lyrics script if the file does not have a lyrics tag (pe

Re: Help wanted to evolve KDEs music players

2015-07-31 Thread Be
absolutely solid and robust – I still have bugs with Phonon without Pulseaudio here and with Pulseaudio I also have bugs – and then build upon that core and simple interfaces and an advanced interface. Would a common media database library would be a good idea? What else do music players have as a