vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   A hack some might want (https://vborg.vbsupport.ru/showthread.php?t=45023)

filburt1 10-26-2002 04:20 PM

A hack some might want
 
1 Attachment(s)
I'm not putting this in Requests because I don't want it (I'm not hacking my current installation of vB until maybe vB3), but I think it could benefit some: a Live Live Now Playing hack. There's the Now Playing hack which lets you enter in what you're listening to in each post, the recent Live Now Playing which is globally updated, and this one.

I've attached my Winamp Spy-O-Matic written in VB; what it does is every few seconds get the currently playing song from Winamp and dump it to a text file. The daring here could modify it to submit the changes to your forums so it would be a "real" live Now Playing.

Project is attached, enjoy if you want to do this.

N!ck 10-26-2002 08:50 PM

that's actually an idea i had in mind, but i don't know visual basic, and, (even worse) i don't even know how to run it.

also, where is this text file at?

thanks,
nick

filburt1 10-26-2002 08:55 PM

It's hardcoded to d:\apacheroot\winamp.txt because I was too lazy to make it an option :p

N!ck 10-26-2002 09:52 PM

#1 - how would i make it access a url (with a query string, of course) instead of writing to the text file?
#2 - how would i run the thing afterward?

filburt1 10-26-2002 09:58 PM

1. Use the WebBrowserControl or Inet
2. In the VB IDE (if you don't have it you're screwed)

N!ck 10-26-2002 11:11 PM

hmmm...this is over my head. i wish someone would just do it. it would integrate nicely into my hack.

Erwin 10-27-2002 01:12 AM

Can you modify filburt's file so that it enters the value into the database? That value can then be retrieved.

N!ck 10-27-2002 01:35 AM

erwin, check out this link:
https://vborg.vbsupport.ru/showthrea...threadid=45006

to use filburt's program, you'd just modify it to access http://url.of.your/forums/nowplaying.php?title=SONGTITLE&artist=ARTIST. of course, it would need to url encode the song title and artist and send them in place of SONGTITLE and ARTIST.

i don't know how to do it, though.


All times are GMT. The time now is 07:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01655 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete