Forum: Addons

Addons comments
话题: Play2Text - Page: 1
PachNPRO InfinityMember since 2009

发表时间 Mon 21 Nov 16 @ 4:05 pm
PachNPRO InfinityMember since 2009
Short Instruction to the Play2Text tool

This tool waits for changes in the current histroy file and writes the last line of the history file into a .TXT or .HTML file.
You will have to set the path, name and type of the file the tool should create. This is done clicking on the button next to the "Save file to" textbox.
Depending of the file type chosen, the big text field in the middle of the program will populate with different data.

This data depends on the chosen operation mode BASIC or ADVANCED.


BASIC Mode:
----------------------------------

The basic mode just provides a singe tag called %track%.
This is a variable name that will hold the file name stored in the history.


Example:

You can write something like this to the textbox:

Now playing on Awsome.FM: %track%
Mixed by YourDJName

after the tool writes the infos to the file it will look like this:

Now playing on Awsome.FM: Safri Duo - Played-A-Live
Mixed by YourDJName

The Basic mode only uses the infos stored in the history file. That is just the filepath of the track. Meaning if your filepath is not well formated and looks like this

3-jean-claude-ades-i-begin-to-wonder-2008-felguk-radio-edit

it will write exactly this to the file.
For the info to get written the variable name has to be %track%


ADVANCED Mode:
---------------------------------

This one will try to read your VDJ databases meaning it will read the actual tags of the track.
You can currently choose between these variables:

%artist%
%title%
%remix%


This mode might not work all the time because VDJ might lock the database and prevents Play2Text to read the database.


Once started the tool will continue to listen for changes to the history file and update the output file until it is getting closed.

发表时间 Mon 21 Nov 16 @ 4:10 pm
locodogPRO InfinityModeratorMember since 2013
I think between us we could make this a in app addon.

发表时间 Mon 21 Nov 16 @ 4:35 pm
PachNPRO InfinityMember since 2009
First, why didn't I get an email notification if someone wrote into this topic? I did subscribe the topic.


Now... sure it would be a better solution but, sadly, I really don't have the time to start learning all the VDJ related C++ stuff.

If you are willing to feel free to try it. If I can be of any assistance I'll try to help you.

发表时间 Tue 22 Nov 16 @ 10:53 am
cant download this...

please make it available

发表时间 Mon 14 Aug 17 @ 12:41 am
user16230197 wrote :
cant download this...

please make it available


You need to have an LE. Plus or Pro license to have access to it

发表时间 Tue 15 Aug 17 @ 2:29 pm
It dont Working.

VDJ v7 havn't a History folder. Only Tracklisting with "Tracklist.txt" and all playlists "2018-04-20.m3u"
The .txt shows:

VirtualDJ History - 2018/04/20
------------------------------

16:34 : Daniel Van Cock - Don't You Wanna Dance
16:37 : Zymotix - Feel My Love
16:39 : B.b.e. - Flash
16:48 : Future Smile - Memories
16:49 : Groove Coverage - Angeline

发表时间 Fri 20 Apr 18 @ 3:10 pm
PachNPRO InfinityMember since 2009
Thats because the tool is for v8 only.

发表时间 Fri 20 Apr 18 @ 3:36 pm
a great pity :(

发表时间 Fri 20 Apr 18 @ 3:38 pm
Mo1986Home userMember since 2014
How can I send this to Sam Cast live encoder for broadcasting live using a mixer and mics and all that?

发表时间 Sat 30 Nov 19 @ 3:09 am
xemlesPRO SubscriberMember since 2016
Doesn't work anymore on my side with VirtualDJ 2020 :(
Or when it works it sends the data after like a minute

发表时间 Sun 16 Feb 20 @ 9:17 pm
locodogPRO InfinityModeratorMember since 2013
A minute or 45 seconds?, the default time vdj needs a song to play to count it as played and write to the history?

发表时间 Sun 16 Feb 20 @ 10:06 pm
locodogPRO InfinityModeratorMember since 2013
turn your historydelay setting down to maybe 3-4 seconds

发表时间 Sun 16 Feb 20 @ 10:29 pm
Mo1986Home userMember since 2014
does this work and how exactly do you set this up??

Thanks

发表时间 Wed 04 Mar 20 @ 2:12 am
You can run this at 0 seconds history with no issues as in a broadcast application, some legal ID's and jingles are under 2 to 4 seconds long and are required to be logged. I am still occasionally having the issue in a system running win 10 current (1909 build 18363.752) where windows will put it to sleep if you go over 8 to 10 minutes like during a long studio live mic/phone spoken event. Compatibility wizard and running as admin helps but this really seriously needs to be directly incorporated into VDJ directly and not an add on. Great work by PachN and I cannot thank him enough for the work on this project and I've used this daily now since it has been created in a professional terrestrial and streaming broadcast application but its time this feature actually needs to be within the system to make sure it stays reliable cause windows 10 will not leave this plug-in alone.

I just cannot see how it could be that hard to do a now playing html or text output (or both simultaneously) in a user selected folder in the system. This shouldn't be an add on, it should be part of VDJ itself. From web-pages to external encoders, digital terrestrial broadcasting and even bluetooth now playing LED club signs there are so many useful applications for this to be included and embedded as part of the main system and is long overdue. Just add it to setup someplace where we can select a location to place a folder with the output file in it. I have had a need for this and have posts in here going all the way back to 2011 and use this feature everyday.

I have had the best and most consistent results running it directly in a folder in the C drive itself using a simple text file as permissions directly in the drive are different than that of parent-child windows folders. I have also used it in the same location with an HTML file to add a "Now Playing" banner to a station website. There are pro licensed stations using VDJ as a live support system alongside the daily automation systems. We use it with our morning drive DJ's in a "morning zoo" environment which gives our people a simple extra creative tool to use in the studio. VDJ is faster and more flexible for on the fly things than trying to quickly add items into the rest of the automation, whether it's a pre-recorded phone bit or something we drop into the sampler. Routing audio is easy. Routing and logging "Now Playing" relies on this plug in. It needs to be included as part of the system and not an add on.

发表时间 Thu 09 Apr 20 @ 2:16 pm
PachNPRO InfinityMember since 2009
Hi John,

I really appreciate your feedback. Thanks for that. I don't think such a feature will make it into VDJ Core. But I'm no Atomix employee...

If I can help you with play2text to solve your win10 issues write me a PN.

发表时间 Fri 10 Apr 20 @ 9:52 pm
djmrmcPRO InfinityMember since 2009
locodog wrote :
A minute or 45 seconds?, the default time vdj needs a song to play to count it as played and write to the history?


Hey PachN,

Just messing around with this and OBS and it's working great. Only issue I have is that it doesn't matter what time I specify for historyDelay in VDJ settings. It always seems to take 45 secs to update the txt file. And by that I mean what I see on screen.

Any ideas??


发表时间 Sun 19 Apr 20 @ 7:55 am
djmrmc wrote :
locodog wrote :
A minute or 45 seconds?, the default time vdj needs a song to play to count it as played and write to the history?


Hey PachN,

Just messing around with this and OBS and it's working great. Only issue I have is that it doesn't matter what time I specify for historyDelay in VDJ settings. It always seems to take 45 secs to update the txt file. And by that I mean what I see on screen.

Any ideas??



You need to keep in mind that if your looking at the screen of a streaming output the delay you see is the delay of the stream being sent and reaching you in whatever player you're monitoring it in to get with the display. Depending on the bitrate and streaming format some will take longer than others. Also if your trying to view the output text file while this process is working then you are at the mercy of your text browser and its own refresh rate in windows. if vdj history is set to 0 then its instantaneous if the output text is closed. If you use the output text in a separate app like the Breakaway One dsp & encoder, or the butt encoder with your favorite dsp or any other encoder or app that accepts incoming text youll see it change immediately, but if your watching the output text being open on your screen in windows you will not see that. That's just windows being it's usual self.

If you set this up in a folder directly in your local drive you'll bypass a lot of various levels of windows security which does help. Make a folder in your local drive and to keep the filepath short I usually label it Z and name the text file pl, and Play2Text in with it. Run it "as admin" compatibility to win 7 or xp, because it was late in win 7 when they introduced hybrid sleep states and the 5th sleep level, then go into task manager, details tab find play2text and set priority to realtime and that seems to stop windows from messing with it and if history in vdj is set to zero then it works with near zero latency. the rest is whatever software you are using at the other end or how you monitor it. I use it with Breakaway One in nearly every instance. Your mileage may vary. In your receiving app window your path would be something like C:\z\pl dot txt and it will work fine. Then just point the window of your app at the text file. For Breakaway One or the butt encoder monitoring a 128k mp3 stream with VLC or any average player the delay will be about 15 to 20 seconds if you are at the same location as the streaming server and longer if you are using a rental server depending on how close you are to it both sending and receiving. It's a bit longer for a AAC-HE stream at 64k and longer yet for a 32k. I can't speak for the sam products as I don't use them. Never tried OBS and video before which sounds interesting.....

发表时间 Fri 12 Jun 20 @ 6:25 pm
Would help if it sent metadata to the stream if I was broadcasting to the audio server (not Shoutcast or Icecast - the other one!).

发表时间 Fri 12 Jun 20 @ 9:49 pm
PachNPRO InfinityMember since 2009
And by Metadata you mean what exactly? ID3 Tags? Or VDJ DB values? Whiche one of all these variouse keys and values?

发表时间 Wed 17 Jun 20 @ 9:28 pm
页码 : [>] [>>]
67%