Hi folks, I've encountered this limitation severally. I could want some song's info to be logged to a file but I can't do it.
One may wonder what for? The reasons are endless. For instance I could find that the vdj info is more accurate than the other software.
This info could be vital to some script somewhere.
So an implementation like
log "Name: `get_filename` Path: `get_filepath` Bpm: `get_bpm absolute`" log.txt
could be very helpful.
Another person could say why not use the database and extract that info? I can think of two main reasons:
1. Extracting from the database needs additional external scripts/tools and is not straightforward
2. Not all info is logged to the database
Sometimes I wish vdj had a shell to do tasks that would otherwise never be implemented. The way we var_list then a window pops up, the same should be implemented but now it's the shell that pops up. That way it could solve many requests and wishes that people often raise with no hope of them being ever implemented. It could be like killing 1000 birds with 1 stone but hey, that's just my thinking. I know some will say vdj is a music mixing software and that would raise security concerns and over complicate things but that's what the future holds. Even if it's just a rudimentary shell modified to only execute vdj related actions, that would be superb.
Note: The log action should be made to only append and not override the log file.
One may wonder what for? The reasons are endless. For instance I could find that the vdj info is more accurate than the other software.
This info could be vital to some script somewhere.
So an implementation like
log "Name: `get_filename` Path: `get_filepath` Bpm: `get_bpm absolute`" log.txt
could be very helpful.
Another person could say why not use the database and extract that info? I can think of two main reasons:
1. Extracting from the database needs additional external scripts/tools and is not straightforward
2. Not all info is logged to the database
Sometimes I wish vdj had a shell to do tasks that would otherwise never be implemented. The way we var_list then a window pops up, the same should be implemented but now it's the shell that pops up. That way it could solve many requests and wishes that people often raise with no hope of them being ever implemented. It could be like killing 1000 birds with 1 stone but hey, that's just my thinking. I know some will say vdj is a music mixing software and that would raise security concerns and over complicate things but that's what the future holds. Even if it's just a rudimentary shell modified to only execute vdj related actions, that would be superb.
Note: The log action should be made to only append and not override the log file.
Mensajes Wed 27 Nov 24 @ 12:24 pm
You can put the samples in a list, then right-click the list and select 'export'
Select .txt or .csv as the output format, and it will store the info from whatever columns are selected in the browser
Select .txt or .csv as the output format, and it will store the info from whatever columns are selected in the browser
Mensajes Wed 27 Nov 24 @ 12:32 pm
That proves my point. That's limited to filenames only.What if I needed to log more info?
Mensajes Wed 27 Nov 24 @ 12:35 pm
No, it logs all columns you select
Mensajes Wed 27 Nov 24 @ 12:36 pm
I see but still that's limited. I get Title, Artist, Remix, Length, Bpm and key or whatever is available in the browser window. What of get_pad_page_name, is_pc, get_cpu, get_date. The list is endless. A dedicated log action script would be perfect in the sense that it can log any action. Besides let's look at the Length, it only has min:sec what about ms ? Since you may need high accuracy in your other program/script.
Mensajes Wed 27 Nov 24 @ 12:51 pm
Not quite sure what you'd do with a log of pad_page_name.
If you need to interact with other software directly, writing a vdj plugin or using the network control plugin might be more flexible:
https://www.virtualdj.com/wiki/NetworkControlPlugin.html
https://www.virtualdj.com/wiki/Developers.html
If you need to interact with other software directly, writing a vdj plugin or using the network control plugin might be more flexible:
https://www.virtualdj.com/wiki/NetworkControlPlugin.html
https://www.virtualdj.com/wiki/Developers.html
Mensajes Wed 27 Nov 24 @ 1:47 pm
Thanks will try those.
Mensajes Wed 27 Nov 24 @ 1:52 pm