Drag & Drop Rocks!

The Tuniac forum.
Post Reply
Sigurd
Posts: 36
Joined: Sat Jun 14, 2014 4:24 pm

Drag & Drop Rocks!

Post by Sigurd » Thu Apr 13, 2017 5:07 pm

Just a thank you.

I've made minimal use of the drag and drop lists. I really didn't expect to be able to simply drag more songs to secondary lists. It's so easy!

Thank you.

Brett
Site Admin
Posts: 250
Joined: Sun Mar 28, 2010 12:36 am

Re: Drag & Drop Rocks!

Post by Brett » Sat Apr 15, 2017 8:26 am

Tuniacs playlist management is way more advanced than it first appears.
Tuniac fronts as a basic player but really has a real depth of powerful features.

That is why I love it so much, so simple but so powerful.
It lacks in the streaming department, but if someone had time it could all be added.

Need Google music, Spotify, Pandora etc.

Harteex
Posts: 80
Joined: Tue Mar 30, 2010 7:23 pm

Re: Drag & Drop Rocks!

Post by Harteex » Sun Apr 16, 2017 9:40 pm

Brett wrote:
Sat Apr 15, 2017 8:26 am
That is why I love it so much, so simple but so powerful.
Same here :)
Brett wrote:
Sat Apr 15, 2017 8:26 am
It lacks in the streaming department, but if someone had time it could all be added.
I looked into that once. I would love if it would stream with a small buffer, and still support seeking (when streaming files), but Tuniac uses Bass for streaming (as well as normal files), and it doesn't support seeking, unless you set it to download the file you play fully (then it can seek to as far as it has downloaded). Maybe this has changed since then, I don't know.
I was also thinking of implementing a stream layer for bass, which would make bass think it's a regular file, and handle a few chunk buffers which would download on demand (and support seeking by simply sending http range requests).

I need more time on my hands (and less projects) :(
Brett wrote:
Sat Apr 15, 2017 8:26 am
Need Google music, Spotify, Pandora etc.
It's too bad Spotify's SDK isn't officially supported anymore (it's deprecated), and only 32bit.

Brett
Site Admin
Posts: 250
Joined: Sun Mar 28, 2010 12:36 am

Re: Drag & Drop Rocks!

Post by Brett » Mon Apr 17, 2017 2:26 am

Tuniac has a full plugin system. Bass is only a plugin to tuniac like any decoder can be.
There is example decoders and infomanagers for mp3(Tony's openEnlightenment 5.0) with http streaming support, FLAC, Ogg, trueaudio, wavpack, tak, shorten, taglib etc.
It also has a http reader helper.
https://sourceforge.net/p/tuniac/code/ ... PFileIO.h

Librespot could do Spotify, gmusicapi for Google music.

Want more info? :)



Brett
Site Admin
Posts: 250
Joined: Sun Mar 28, 2010 12:36 am

Re: Drag & Drop Rocks!

Post by Brett » Mon Apr 17, 2017 3:35 am

Harteex wrote:
I need more time on my hands (and less projects) :(
I am looking after my newborn child so have close to no time left. :(

Brett
Site Admin
Posts: 250
Joined: Sun Mar 28, 2010 12:36 am

Re: Drag & Drop Rocks!

Post by Brett » Mon Apr 17, 2017 8:43 am

The old mp3streamer is an example of using Tuniacs http reader.
https://sourceforge.net/p/tuniac/code/H ... er_Plugin/

You just set in your decoder GetFlags(): FLAGS_PROVIDEHTTPFILEIO.
Then Tuniac will give you a IAudioFileIO back in your CreateAudioSource() that has already been initialized with the library item location.

Your IAudioFileIO class allows you to Destroy(), Read(), Seek(), Tell(), Size() and IsEOF().



The online stream platforms would work best with a new source view and playlist type, eg you would create a playlist entry(or many) on the left of screen that look and behave different on the right of screen to other types.
Eg having like, dislike, add etc buttons for Spotify. Sending search requests via lib to a server. Clearing playlists in a logical way when you do a new search etc.

Tuniac has different views and different playlist types.
All those building blocks already exist and are in use with library vs standard vs cd.
Types:
https://sourceforge.net/p/tuniac/code/H ... urceView.h
https://sourceforge.net/p/tuniac/code/H ... Playlist.h

Manager for the different types:
https://sourceforge.net/p/tuniac/code/H ... Window.cpp
https://sourceforge.net/p/tuniac/code/H ... anager.cpp

SourceViews and Playlist types are not exposed to an external plugin system, but could be.
Currently they need to be hardcoded in to TuniacApp.

Harteex
Posts: 80
Joined: Tue Mar 30, 2010 7:23 pm

Re: Drag & Drop Rocks!

Post by Harteex » Tue Apr 18, 2017 10:41 pm

Cool, thanks for all the info :)

As said, no time right now unfortunally, but hopefully during summer and later this year.
Brett wrote:
Mon Apr 17, 2017 3:35 am
Harteex wrote:
I need more time on my hands (and less projects) :(
I am looking after my newborn child so have close to no time left. :(
Well, congrats :)

rogervs
Posts: 1
Joined: Fri Oct 13, 2017 8:35 am

Re: Drag & Drop Rocks!

Post by rogervs » Fri Oct 13, 2017 10:06 am

You can try <removed> tool. I am using it for a long time, and I hope you will like it too.

Brett
Site Admin
Posts: 250
Joined: Sun Mar 28, 2010 12:36 am

Re: Drag & Drop Rocks!

Post by Brett » Wed Oct 18, 2017 6:56 am

Rogervs, your post simply lools like spam so I edited your post.

Post Reply