June 19, 2011, 07:23:11 Last Edit: July 04, 2015, 15:33:56 by p300
Hi

I would like to browse the library and prelisten a song eg. in DeaDBeeF in order to decide whether i really wanna add it to the playlist or not.

The playlist is sending to the main speakers via the USB sound interface.
DeaDBeeF is utilizing the internal sound card.

How to achieve this? Thx.

It's not possible currently, never thought about it, I guess it's a good candidate for a plugin.
The closest you can do is by using a function of the export plugin, that allows you to add a entry in the song context menu to execute a custom command. That way you could listen to the song in another player...

Thx. - i just don't get it ... %f starts and adds to deadbeef. But the dialogue window in gmb stays open as long as deadbeef is playing making the ui unusable. I need to close deadbeef in order to make the dialogue in mpd to go away...

Yes, when not using $files, it launch one command by selected file, in order to not make them run all at the same time, it doesn't use a fork, but that is of course far from perfect as you have seen. I will fix it, in the meantime, either use $files if you can (it's the same if you only use it on one file at a time) or run a small shell file that will run the command with "&" at the end and thus return immediately.
thanks for reporting this.

#4 June 21, 2011, 09:38:58 Last Edit: June 29, 2011, 06:21:41 by p300
@quentin

Thx. - now it behaves exactly like i want it to ..
I've added this into the export dialogue:

deadbeef $files &

DeaDBeeF comes up playing one or more selected files via the internal soundcard on my headphones.

Uups - i am running a fresh install of 1.14 today and the export command isn't working anymore ... i guess i forgot the changed syntax ... can u help?

Yes I've made some changes to the way system commands are executed.
Try
deadbeef $files
without the "&", I think it should work.

#7 July 04, 2015, 15:33:22 Last Edit: July 04, 2015, 16:22:56 by p300
Hi Quentin

Thx. for your reply. Now it's working fine again. And i made a mistake by myself. In order to launch DeaDBeeF from the command line i need to add the full path to the executable.

BTW: Just to give you some feedback. I have used your latest gmb on a lenovo T510 (8gb) on top of AV Linux 6.0.4 for 14 hours of continous operation with a music database of appr. 470.0000 songs sitting on an external 3TB USB harddisk. In this library i have many,, many duplicates and during this gig i did a lot searching and arranging songs. I did not have a single hickup and/or dropout in jack with a latency of 17.4ms which is good enough for me. Thank you again for this wonderful piece of software.

Now the preview is working again AND if crossfade is added to the feature list i would be delighted! On a song change i usually have a too much silence which is not nice if you play to the public.

And - is there a way (filter) to re-find & select the songs played during the latest gig for future reference? The library is new and so i did a custom filter with a playcount =1. In order to find these songs again at a later stage, when they have been played more than one time, i did a "save current list as". Will these files now be selectable forever? How can i add/remove files from that list? I don't wanna remove them from the library - only from that list....  will "edit list" do this job?

Thx.

QuoteAnd - is there a way (filter) to re-find & select the songs played during the latest gig for future reference? The library is new and so i did a custom filter with a playcount =1. In order to find these songs again at a later stage, when they have been played more than one time, i did a "save current list as". Will these files now be selectable forever? How can i add/remove files from that list? I don't wanna remove them from the library - only from that list....  will "edit list" do this job?

You can create a filter that shows all the songs that have been played during a specific period (unless you have disabled the Play_history field). But to get the exact order, it is only possible by using the lastplay field, which of course only works if they haven't been played since. Using the play_history field to sort them as you want even if they have been played after would be possible, but would require a way for the user to specify the time period, which is not simple, so I'm not sure I'll implement that.

Anyway, you can filter the songs that were played that time by writing something like "played:2015-07-11-12:00..2015-07-11-18:00" into the search field. (played is an alias for playhistory, there are a few date/time formats that are understood, but I have to add an help dialog to the search field that describes this).
Or you can do that via the gui : click on the left icon in the search bar, choose adv. search, choose play_history and then choose the start and end time.

To keep the order intact, you should put them in a static list, as you did with "save current list as". Make sure that list is in the proper order in the "edit list" dialog, where you can add/remove/move songs by drag and drop as you want. That list should be kept intact forever, but to be sure you can export it to a m3u file.

Hi Quentin

Thank you so much for your helpful advise! I'll follow accordingly.