Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Discussions

Reply
Thread Tools Search this Thread Display Modes
Old 8th July 2013, 14:46   #241
mixy
Junior Member
 
Join Date: Sep 2008
Location: FL
Posts: 22
Quote:
Originally Posted by maverickdci View Post
Hi,
Mine also stopped at about the same time everybody else's stopped. 11th June.
I also see there are updated versions of this script.
Can somebody tell me exactly what files i need to replace to make it work again?
I see two attachments, which one should i use and what files should i work with?

Thanks @maverickdci for the update.
mixy is offline   Reply With Quote
Old 13th July 2013, 01:29   #242
maxwel11
Junior Member
 
Join Date: Jun 2013
Posts: 3
@maverickdci
oh thanks even for the lil change xD

@dopelabs
Thanks for the update very very much

@mixy
i used the 2nd one which is v.2 and it worked well

@ All of you guys

anyone got a problem which is twitter not posting tweets to facebook pages? or that me only? ir anyone passed through that problem before and found a solution for it?

Thanks alot

Yours,
Maxwel11
maxwel11 is offline   Reply With Quote
Old 13th July 2013, 01:55   #243
mixy
Junior Member
 
Join Date: Sep 2008
Location: FL
Posts: 22
Thanks maxwell12, am gonna work on this later today.
mixy is offline   Reply With Quote
Old 13th August 2013, 02:50   #244
mynameismoz
Junior Member
 
Join Date: Aug 2013
Posts: 1
Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/u404669311/public_html/black/twitter.php on line 43

how to solve that ?
i use TwitterCast_API_1.1_SHOUTcast_Server_v2
mynameismoz is offline   Reply With Quote
Old 14th August 2013, 12:20   #245
djokay
Junior Member
 
Join Date: Aug 2013
Posts: 1
Shoutcast Song title to Twitter Timeline

Hi,

I'm new to this forum but I've seen a couple of posts on the subject matter but all seems not clear to me.

Please I need someone in here to give me a layman description on how to have Shoutcast tweet my Song title to my Twitter timeline.

Your prompt response will be appreciated.
djokay is offline   Reply With Quote
Old 1st September 2013, 20:07   #246
dappyboy0489
Junior Member
 
Join Date: Sep 2013
Posts: 3
Quote:
Originally Posted by murderousone View Post
Had trouble setting this up, was going thru all these comments & took numerous hrs to figure out what was going on. but i finally got it working & posting on my twitter status... so it def still works on the new twitter. & i would def like to thank the poster & creator of this script. it def is one of a few that work really well.

Check Mines Here:
http://twitter.com/#!/m1uradio

HERES HOW I SET UP MINES:

DOWNLOAD The twittercast from 1st post:
http://www.dubstep.fm/tools/twittercast.zip

problem lies in the twitter app.

1. Download required files
2. Edit twitterAPI.php username and password
3. Edit twittercast.php server info
6. Upload all files in the same web directory
7. Access twittercast.php using your browser


Now Go to Twitter Dev & Create Your App: https://dev.twitter.com/

Once created & info all entered (domain sitename, etc.) generate/create your access token.

Should Read Like So:
Your access token

Use the access token string as your "oauth_token" and the access token secret as your "oauth_token_secret" to sign requests with your own Twitter account. Do not share your oauth_token_secret with anyone.
Access token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Access token secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Access level Read

Go into your setting:
change to read & write

Go into your OAuth Settings Tab. (HERES WHERE THE PROBLEM LIES)
OAuth settings:

Consumer key: xxxxxxxxxxxxxxxxxxxxxxxxx
Consumer secret: xxxxxxxxxxxxxxxxxxxxxxx
Remember this should not be shared.

Access token: xxxxxxxxxxxxxxxxxxxxxx
Access token secret: xxxxxxxxxxxxxxxxxxxxxxxxx
Remember this should not be shared.

Request settings

Request type: *

GET
POST *
DELETE
PUT
HEAD

Request URI:
https://api.twitter.com/1/

U Have To Select Post & Enter This Into The Request URI:
https://api.twitter.com/1/yourtwitte..._timeline.json

Select The See OAuth signature for this Request button &

Once Done Your Now Authorized & Your Status Should Start Updating To Your Twitter...

NOTE IF U CHANGE WHERE IT SAYS LISTENING OR ADDING WORDS BEFORE IT CAN CAUSE IT NOT TO POST..

HOPE THIS HELPS OUT...
Is it just me *scratches head*
I've read all the threads fro the first even to the last but i cant still make this work
My twittercast isnt working
Please help!!!!

http://wadupradio.com/twittercast/twittercast.php
dappyboy0489 is offline   Reply With Quote
Old 1st September 2013, 20:14   #247
dappyboy0489
Junior Member
 
Join Date: Sep 2013
Posts: 3
shoutcast to twitter not working

Quote:
Originally Posted by murderousone View Post
I Checked Your File:
http://u.klikhost.com/twittercast/twittercast.php
Seems Working Fine Here.
A Usher Song Is Playing & I Was Able To Listen To Your Stream Fine:

For Your Tweets Question.

Change The Info On LINE 119 twittercast.php
code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php

if ($refresh != "0")
{
print "<meta http-equiv=\"refresh\" content=\"$refresh\">\n";
}
print "<title>M1uRadio - $current_song - ".($listeners)." Listeners</title>";

?>


Enter Your Info to line 119: #np Usher amp; Swedish House Mafia - Numb OFFICIAL | radiolokal.com - 2 pendengar
Thanks for the post but i downloaded the twittercast zip file from @dopelabs but i couldn't find the twittercast.php file so i decided to build mine but its not working at all
Please help
dappyboy0489 is offline   Reply With Quote
Old 1st September 2013, 20:35   #248
dappyboy0489
Junior Member
 
Join Date: Sep 2013
Posts: 3
Quote:
Originally Posted by murderousone View Post
This Still Works Great And Is the Best Your Going To Find Online.

IF ANYONE IS HAVING PROBLEMS SETTING THIS UP...

MAKE SURE YOU VISIT https://dev.twitter.com/
And Setup Your APP, Prior To Running The Script..


I MADE A twittercast.zip OF MY CURRENT STATION RUNNING TWEETCASTER,

WHICH YOU CAN VIEW THE UPDATES ON TWITTER @ http://twitter.com/m1uradio

CURRENTLY STILL RUNNING / WORKING..

FOR THOSE HAVING PROBLEMS,
DOWNLOAD THE .ZIP

WHICH IS THE SAME .ZIP POSTED ON 1ST POST, And 4th POST ON THIS THREAD.

ALL THAT NEEDS TO BE EDITED ARE:


(twitterAPI.php And TwitterCast.php)


EDIT FILES TO YOUR OWN LIKING'S AND SERVER SETTINGS..

AND UPLOAD TO YOUR SERVERS WEB DIRECTORY OR SUB, ETC.

ALL OTHER FILES REMAIN UNTOUCHED / NO NEED TO EDIT....

Run Twittercast.php from domain location.. http://yourdomain.com/whateverfolder/twittercast.php

Check Twitter...


It Should Auto Update Your Twitter Every 30 secs....


HOPE THIS HELPS OUT!
the twittercast.zip you posted on fileden are no longer there. Can you please post another one so we can see it
i've tried everything possible but its not working for me
Thanks
dappyboy0489 is offline   Reply With Quote
Old 5th October 2013, 11:50   #249
morrishmark
Junior Member
 
Join Date: Oct 2013
Posts: 4
Apostrophe errors using Twittercast

Quote:
Originally Posted by dopelabs View Post
thats why it writes the title info to title.txt it checks that for differences and will only post to twitter if there is a 'new' song.

yea maybe the song title has a ' in it...
Sorry this is a late response, but just found this helpful thread in a search. Lots of Artist names and Song titles have apostrophes in them. Whenever one plays, only the info after the final apostrophe is displayed. Is there a way around this? I'm pretty sure that before the Twitter changes earlier this year, this never happened.
morrishmark is offline   Reply With Quote
Old 5th October 2013, 11:52   #250
morrishmark
Junior Member
 
Join Date: Oct 2013
Posts: 4
Apostrophe errors using Twittercast

Quote:
Originally Posted by aaronsnet View Post
Maybe something you were trying to send had an apostrophe ( ' ) in it?

Also, if you send a duplicate to your previous twitter post...I don't think that it actually posts it again. I am pretty sure that it just ignores it.

Twitter has been nice to archive playlists though.
Sorry this is a late response, but just found this helpful thread in a search. Lots of Artist names and Song titles have apostrophes in them. Whenever one plays, only the info after the final apostrophe is displayed. Is there a way around this? I'm pretty sure that before the Twitter changes earlier this year, this never happened.
morrishmark is offline   Reply With Quote
Old 9th October 2013, 13:05   #251
morrishmark
Junior Member
 
Join Date: Oct 2013
Posts: 4
Apostrophe errors using Twittercast.php

Hi

This follows-on from a comment some time ago using the Twittercast.php file which was uploaded by several kind posters some time ago.

Lots of Artist names and Song titles have apostrophes (') in them. Whenever one plays, only the info after the final apostrophe is written and then displayed on Twitter.

Is there a solution for this? Oddly enough, I'm pretty sure this didn't happen before the Twitter changes earlier this year.

Thanks

MM
morrishmark is offline   Reply With Quote
Old 16th October 2013, 04:19   #252
morrishmark
Junior Member
 
Join Date: Oct 2013
Posts: 4
Apostrophe errors using Twittercast.php

Hi

This follows-on from a comment some time ago using the Twittercast.php file which was uploaded by several kind posters some time ago.

Lots of Artist names and Song titles have apostrophes (') in them. Whenever one plays, only the info after the final apostrophe is written and then displayed on Twitter.

Is there a solution for this? Oddly enough, I'm pretty sure this didn't happen before the Twitter changes earlier this year.

Thanks

MM
morrishmark is offline   Reply With Quote
Old 17th October 2013, 02:25   #253
sholehvn
Junior Member
 
Join Date: Oct 2013
Posts: 3
I have problem.

I have followed the instructions above, but song status doesnt work on twitter.

twittercast: http://gorkradio.com/tbn/twitter.php
twitter: https://twitter.com/GorkRadio

Screenshot
Consumer key - Access Token: http://postimg.org/image/rsji5nsud
Cron job: http://postimg.org/image/jc1oqbc0b

Request Setting
Request type: GET

Application Type
Access: Read and Write
sholehvn is offline   Reply With Quote
Old 22nd October 2013, 04:03   #254
faithpig
Junior Member
 
Join Date: Oct 2013
Posts: 2
Hi all,

Is it possible for me to duplicate this site on my own twitter account:

https://twitter.com/yes933live

I believe the owner is using the following as a reference:

http://radio.mediacorp.sg/RadioLive/Yes933.aspx

Any guidance please?

Thank you.
faithpig is offline   Reply With Quote
Old 24th October 2013, 23:49   #255
sholehvn
Junior Member
 
Join Date: Oct 2013
Posts: 3
how do i change the Request type to "POST" under OAuth tool tab settings for my application.

I can change this but how to save or update my settings. It is not updtaing. The request Type is always set to "GET".
please any suggestions as soon as possible.
sholehvn is offline   Reply With Quote
Old 15th January 2014, 17:49   #256
Vitoko1998
Junior Member
 
Join Date: Jan 2013
Posts: 5
Help New security

The day yesterday Api stopped. Apparently a security issue have been implemented. Anyone know how to correct?
Vitoko1998 is offline   Reply With Quote
Old 15th January 2014, 18:25   #257
Busby
Senior Member
 
Busby's Avatar
 
Join Date: Apr 2004
Location: Isle of Man UK
Posts: 120
Sad to report same here - Twittercast no longer working - hope there is a solution..

I'll get there in the end...
www.1mix.co.uk
Busby is offline   Reply With Quote
Old 15th January 2014, 19:09   #258
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
this script has been pieced together from different sources for a while now… so.. if anyone knows what changes twitter made to their api, and how to correct, feel free to let me know, otherwise i will look around for some other open source php post to twitter that works and try and use that code instead. im guessing since the changes happened ~24 hours ago, it might be a little while before i can find an updated script.. i will also try and brainstorm of other methods of getting this information to twitter.

DL
dopelabs is offline   Reply With Quote
Old 15th January 2014, 19:33   #259
Busby
Senior Member
 
Busby's Avatar
 
Join Date: Apr 2004
Location: Isle of Man UK
Posts: 120
Yes the problem seems to be that Twitter upgraded their security.. http://www.htxt.co.za/2014/01/15/twi...rd-party-apps/

I'll get there in the end...
www.1mix.co.uk
Busby is offline   Reply With Quote
Old 15th January 2014, 20:46   #260
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
ok i fixed it.. here is what you need to do…

open EpiTwitter.php

change all the twitter.com urls at the top of the script from http:// to https://

save

open title.txt and remove any text

save

(or wait until the next song title update from shoutcast for the script to post)

that should do it
dopelabs is offline   Reply With Quote
Old 15th January 2014, 21:58   #261
Vitoko1998
Junior Member
 
Join Date: Jan 2013
Posts: 5
Quote:
Originally Posted by dopelabs View Post
ok i fixed it.. here is what you need to do…

open EpiTwitter.php

change all the twitter.com urls at the top of the script from http:// to https://

save

open title.txt and remove any text

save

(or wait until the next song title update from shoutcast for the script to post)

that should do it

You did the test work?
Vitoko1998 is offline   Reply With Quote
Old 15th January 2014, 22:03   #262
Vitoko1998
Junior Member
 
Join Date: Jan 2013
Posts: 5
Quote:
Originally Posted by dopelabs View Post
ok i fixed it.. here is what you need to do…

open EpiTwitter.php

change all the twitter.com urls at the top of the script from http:// to https://

save

open title.txt and remove any text

save

(or wait until the next song title update from shoutcast for the script to post)

that should do it

Yesss It works, thank you very much.
Vitoko1998 is offline   Reply With Quote
Old 15th January 2014, 22:04   #263
Busby
Senior Member
 
Busby's Avatar
 
Join Date: Apr 2004
Location: Isle of Man UK
Posts: 120
Dopelabs you've done it again!

I thought this would need a major re-write to get it working, but no, it works..

Thanks again

I'll get there in the end...
www.1mix.co.uk
Busby is offline   Reply With Quote
Old 18th January 2014, 22:41   #264
504pro
Junior Member
 
Join Date: Jun 2006
Posts: 14
In Twitter App, it wants a callback url Is that the outh.php file?
504pro is offline   Reply With Quote
Old 24th January 2014, 21:53   #265
maxwel11
Junior Member
 
Join Date: Jun 2013
Posts: 3
@ dopelabs

Thanks again, as always u save my day everytime twitter change their api, thanks very much
maxwel11 is offline   Reply With Quote
Old 24th January 2014, 22:47   #266
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
you can thank busby for posting that link… i skimmed through and really the only thing that was mentioned was twitter now requires SSL and TLS for all 3rd party apps.. so i figured SSL, ok, thats https. looked in the script for any urls with http:// to twitter and updated to https:// saved and it worked. it was mostly an educated guess, which seems to do the trick…

now if you want some good code-fu, check out http://www.dopelabs.com/shoutcast-to...peg-on-ubuntu/
dopelabs is offline   Reply With Quote
Old 25th January 2014, 02:42   #267
Bryon Stout
Senior Member
 
Join Date: Feb 2011
Posts: 375
Nice one man!.. thats an awesome script you made for the ustream, justin.tv etc.


Quote:
Originally Posted by dopelabs View Post
you can thank busby for posting that link… i skimmed through and really the only thing that was mentioned was twitter now requires SSL and TLS for all 3rd party apps.. so i figured SSL, ok, thats https. looked in the script for any urls with http:// to twitter and updated to https:// saved and it worked. it was mostly an educated guess, which seems to do the trick…

now if you want some good code-fu, check out http://www.dopelabs.com/shoutcast-to...peg-on-ubuntu/
Bryon Stout is offline   Reply With Quote
Old 25th January 2014, 03:17   #268
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
not really a script, but just the proper command to achieve something that i really couldnt find specifically with my googlieness… took me about 20 hours to really get it nailed down,, exporting the image seq for the best quality and small file size, which is less resource intensive when ffmpeg reads the files and encodes them into video stream.

it also relies a lot on what the content is too.. the less colors the better, the less action the better… for instance you can use just a single image for a static logo, which is super cheap on the resources..

im also providing a stream for http://www.ustream*****channel/subfm

code:
user@host:~$ ffmpeg -re -loop 1 -i /home/user/ustream/ustream.jpg -i http://radio.server.com:8000 -c:v flv -c:a copy -b:a 192k -f flv rtmp://url/key
ffmpeg version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 21 2014 17:05:51 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local --extra-ldflags=-L/usr/local/lib --enable-openssl --enable-openal --enable-libxvid --enable-libx264 --enable-libwavpack --enable-libvorbis --enable-libvo-aacenc --enable-libtheora --enable-libssh --enable-librtmp --enable-libopenjpeg --enable-libopencv --enable-libmp3lame --enable-avisynth --enable-libaacplus --enable-libbluray --enable-libfaac --enable-libfdk-aac --enable-avresample --enable-gray --enable-nonfree --enable-version3 --enable-gpl
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from '/home/user/ustream/ustream.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc), 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc
[mp3 @ 0xafdb880] Header missing
Last message repeated 2 times
Input #1, mp3, from 'http://radio.server.com:8000':
Duration: N/A, start: 0.000000, bitrate: 192 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
[swscaler @ 0xafcd5e0] deprecated pixel format used, make sure you did set range correctly
Output #0, flv, to 'rtmp://url/key':
Metadata:
encoder : Lavf55.19.104
Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 1280x720, q=2-31, 200 kb/s, 1k tbn, 25 tbc
Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> flv)
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=619461 fps= 25 q=31.0 size= 2545590kB time=06:53:18.25 bitrate= 840.9kbits/s

dopelabs is offline   Reply With Quote
Old 17th February 2014, 12:47   #269
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
Twittercast: Shoutcast / Icecast Song Title To Twitter Status Script

I have updated the script to include support for shoutcast v1, shoutcast v2, and icecast.

https://github.com/dlnetworks/twittercast

Twittercast - Shoutcast/Icecast Song Title To Twitter Status Script

Supports Shoutcast V1 and V2 or Icecast

Register a new app at http://dev.twitter.com/apps/new
Fill in API keys and server info in shoutcast.php or icecast.php (dont forget to set paths for title.txt!)
Upload title.txt, shoutcast_v1.php or shoutcast_v2.php or icecast.php, EpiCurl.php, EpiOAuth.php, and EpiTwitter.php to your webserver IN THE SAME DIRECTORY!
Change the file permissions for title.txt writable by ALL (chmod 777)
Visit shoutcast_v1.php or shoutcast_v2.php or icecast.php in your browser to trigger an update or setup a cron job.
cron job example:

*/3 * * * * php /home/username/public_html/domain.com/twittercast/shoutcast.php

In this example php will execute shoutcast.php once ever 3 minutes. You may change to your desire.

man crontab for more info.

Please also note that this script may not work with your hosting provider. Many shared hosting providers have php configurations that will not support this script (no fsockopen).

This script will work properly on a defalt LAMP stack.

I can provide twittercast hosting services if desired.
dopelabs is offline   Reply With Quote
Old 19th February 2014, 02:47   #270
sholehvn
Junior Member
 
Join Date: Oct 2013
Posts: 3
Quote:
Originally Posted by dopelabs View Post
I have updated the script to include support for shoutcast v1, shoutcast v2, and icecast.

https://github.com/dlnetworks/twittercast

Twittercast - Shoutcast/Icecast Song Title To Twitter Status Script

Supports Shoutcast V1 and V2 or Icecast

Register a new app at http://dev.twitter.com/apps/new
Fill in API keys and server info in shoutcast.php or icecast.php (dont forget to set paths for title.txt!)
Upload title.txt, shoutcast_v1.php or shoutcast_v2.php or icecast.php, EpiCurl.php, EpiOAuth.php, and EpiTwitter.php to your webserver IN THE SAME DIRECTORY!
Change the file permissions for title.txt writable by ALL (chmod 777)
Visit shoutcast_v1.php or shoutcast_v2.php or icecast.php in your browser to trigger an update or setup a cron job.
cron job example:

*/3 * * * * php /home/username/public_html/domain.com/twittercast/shoutcast.php

In this example php will execute shoutcast.php once ever 3 minutes. You may change to your desire.

man crontab for more info.

Please also note that this script may not work with your hosting provider. Many shared hosting providers have php configurations that will not support this script (no fsockopen).

This script will work properly on a defalt LAMP stack.

I can provide twittercast hosting services if desired.

not work sir,

link: http://gorkradio.com/twittermaster/shoutcast_v2.php
twitter: https://wwwgorkradio.com

twitter app config
- Access level : Read and Write
- Callback URL : http://gorkradio.com/twittermaster/EpiTwitter.php

hmm how to resolve?
sholehvn is offline   Reply With Quote
Old 20th February 2014, 05:45   #271
xmusicnetwork
Junior Member
 
Join Date: Jun 2001
Posts: 3
Send a message via AIM to xmusicnetwork Send a message via Yahoo to xmusicnetwork
Error

Edited the icecast.php as instructed

Getting the following error when visiting icecast.php

Rend Collective - My Lighthouse (Radio Version)
Fatal error: Uncaught exception 'EpiTwitterException' in /home/content/p/o/s/positiverock/html/xmoscp/EpiTwitter.php:264 Stack trace: #0 /home/content/p/o/s/positiverock/html/xmoscp/EpiTwitter.php(210): EpiTwitterException::raise(Object(EpiCurlManager), false) #1 /home/content/p/o/s/positiverock/html/xmoscp/EpiTwitter.php(111): EpiTwitterJson->__get('response') #2 /home/content/p/o/s/positiverock/html/xmoscp/EpiTwitter.php(33): EpiTwitter->request('POST', '/statuses/updat...', Array) #3 /home/content/p/o/s/positiverock/html/xmoscp/icecast.php(103): EpiTwitter->post('/statuses/updat...', Array) #4 {main} thrown in /home/content/p/o/s/positiverock/html/xmoscp/EpiTwitter.php on line 264
xmusicnetwork is offline   Reply With Quote
Old 20th February 2014, 13:45   #272
REY619
Junior Member
 
Join Date: Feb 2010
Posts: 17
Works perfectly fine. thank you good sir.

//Shoutcast v1
REY619 is offline   Reply With Quote
Old 23rd February 2014, 03:51   #273
Architect
Junior Member
 
Join Date: Dec 2010
Posts: 6
Really can't seem to figure this one out. I had an error message on my shoutcast_v2.php before, but now that and my title.txt are just blank. I can't remember the previous error though. I don't see what I'm doing wrong.

http://krakenradio.com/twittercast/shoutcast_v2.php
http://krakenradio.com/twittercast/title.txt
Architect is offline   Reply With Quote
Old 23rd February 2014, 11:08   #274
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
i will note that i recently started using apache2.4 and php5.5, as before i was using apache2.2 and php5.3 and i havent gotten the script to work yet on it..

but they all worked just fine on my old host.

anyways im sure ill figure it out… i will try and make sure it works regardless of versions or hosting providers… i will also simplify the script so configuration will be effortless.
dopelabs is offline   Reply With Quote
Old 25th February 2014, 00:56   #275
Architect
Junior Member
 
Join Date: Dec 2010
Posts: 6
Are you still offering Twittercast hosting as you mentioned in your previous post, dopelabs?
Architect is offline   Reply With Quote
Old 25th February 2014, 01:16   #276
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
yes i am
dopelabs is offline   Reply With Quote
Old 28th February 2014, 11:45   #277
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
i now have this working on apache2.4 and php5.5.2… im guessing this will also work for others…

https://github.com/dlnetworks/twittercast/
dopelabs is offline   Reply With Quote
Old 2nd March 2014, 07:47   #278
xmusicnetwork
Junior Member
 
Join Date: Jun 2001
Posts: 3
Send a message via AIM to xmusicnetwork Send a message via Yahoo to xmusicnetwork
Quote:
Originally Posted by dopelabs View Post
i now have this working on apache2.4 and php5.5.2… im guessing this will also work for others…

https://github.com/dlnetworks/twittercast/

Great work! Thanks got this working (icecast version)

One question? Is it possible to edit it so it includes a #NowPlaying hashtag with the artist-title sent to twitter? Sorry for such a dumb question I have done some html coding but not dealt with PHP before so I wouldn't know where to edit to make this happen unless told
xmusicnetwork is offline   Reply With Quote
Old 2nd March 2014, 11:15   #279
dopelabs
Senior Member
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 493
Send a message via AIM to dopelabs
code:
$twitterObj->post('/statuses/update.json', array('status' => '#NowPlaying - ' .$song[1]));
dopelabs is offline   Reply With Quote
Old 2nd March 2014, 11:58   #280
xmusicnetwork
Junior Member
 
Join Date: Jun 2001
Posts: 3
Send a message via AIM to xmusicnetwork Send a message via Yahoo to xmusicnetwork
Quote:
Originally Posted by dopelabs View Post
code:
$twitterObj->post('/statuses/update.json', array('status' => '#NowPlaying - ' .$song[1]));

Thanks =)
xmusicnetwork is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump