Latest restricted WACUP beta release is build #18980 (April 24th 2024) (x86 & x64 changelogs) | Latest WACUP public preview is build #18980 (April 24th 2024) (x86 only)


NOTE: Beta testers are added in a limited & subjective manner as I can only support so many people as part of the beta test program to keep it useful for my needs.

Unless I think you're going to be helpful, not all requests will be accepted but might still be later on. Remember that beta testing is to help me & the limitations currently works for my needs for this project.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MarkRH

Pages: 1 2 3 [4]
46
Implemented Requests / Re: Play Tracking Suggestion
« on: November 14, 2016, 07:59:49 PM »
I assume it's one of the RFC date formats that you'd want (based on what was in the earlier XML example). Just need to know which one and can look to get that added in.

Going with ATF and modifications of it may not be the ultimately best solution but for the most part it should suffice with it being a simpler way to access the metadata and custom data within how Winamp tends to want to work.

As long as the string can be converted with PHP using strtotime(); that's all I need. As it stands, it doesn't work.

Code: [Select]
<p>Time: <?= date('M/d/Y g:i:s A T',strtotime("13_11_2016 - 22:30:28")); ?></p>
Outputs: Time: Dec/31/1969 6:00:00 PM CST

Granted, since I know the format, I can programmatically create a string that will work with the function.   A string like "13-11-2016 22:30:28" does work.  So I could make the date be "%date% %time%" if date used dashes instead of underscores. Right now, in PHP I could just do a str_replace() to change "_" to "-".


47
Implemented Requests / Re: Play Tracking Suggestion
« on: November 14, 2016, 04:48:21 AM »
Looks like the logging will grab just about everything I use:
Code: [Select]
13_11_2016 - 22:30:28 - Classical - "Royal Philharmonic Orchestra" - "Hooked on Classics, Part 3" - Hooked on Classics - 1981 - 3 - 6:00 - 362 - 128 - (removed)\Music\MP3\Classical\Royal Philharmonic Orchestra-Hooked on Classics\Royal Philharmonic Orchestra - Hooked on Classics - 03 - Hooked on Classics, Part 3.mp3

Is the %length% just supposed to put the minutes? This song is 6:02.  The %length_seconds% looks correct though.  I'd program the date to look different but I just need to get it in some fashion.

Tying ATF formatting into this "ping" operation is fine.  Hmmm, close Winamp and it crashed. Sent the debug email.

48
Implemented Requests / [IMPLEMENTED] Play Tracking Suggestion
« on: November 12, 2016, 05:11:41 AM »
With the current Now Playing plugin and I am using (which is no longer maintained), it can do a variety of things.  You can get it from here: Brandon Fuller's Now Playing: A Winamp Plugin v3.9.4.0 One of them is sending a "Ping" where it will execute a given URL.



Basically, trying to get this to where I can make something similar to what I can do here: http://www.markheadrick.com/entertainment.shtml

This plugin will create an XML file of the last 10 songs and then upload it via FTP and my script that is called by this URL processes it.  I actually use this script to send out the tweet either automatically (auto=1) or manually from another script.  Anyway, if the current song's information could be sent with the script call via post or get variables then I can save the history on the server end in a database or something and skip the FTP thing.

Here's part of that XML file for reference:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<now_playing playing="0" timestamp="2016-11-11T05:42:03-06:00">
    <song order="1" timestamp="2016-11-11T05:39:29-06:00">
        <title>Radar Rider</title>
        <artist>Riggs</artist>
        <album>Heavy Metal Soundtrack</album>
        <genre>Soundtrack</genre>
        <kind>mp3</kind>
        <track>9</track>
        <year>1981</year>
        <comments/>
        <time>166</time>
        <bitrate>128</bitrate>
        <disc>65531</disc>
        <playCount/>
        <compilation>No</compilation>
        <composer>Jerry Rigs/Marc Jordan</composer>
        <grouping/>
        <urlSource/>
        <file>C:\(removed)\Music\MP3\Soundtrack\Heavy Metal Soundtrack\Heavy Metal Soundtrack - 09 - Riggs - Radar Rider.mp3</file>
    </song>

I actually use the file path to know what album image to use.  This is one of the tweets I do with it: https://twitter.com/mrheadrick/status/794783927181463552

Anyway, wanted to put this out there.  I'm probably one of the only people that does this kind of thing so I understand if the priority to add this is low.

Thanks for all your work.

Pages: 1 2 3 [4]