tjoebgen Posted January 4, 2009 Share Posted January 4, 2009 Okay, so I've been using WinAmp and SongRequester and DoSomething now for a year and a half, and am pretty good about knowing how to use them for html website. I now have SAM Broadcaster, and after getting past a number of hurdles, I've finally come to a weird place. It is probably because I'm use to what the SongRequester plug-in did (it was a web server), but does SAM not operate as a web server? I'm trying to access the playing.html page from an http address, not just a local file. I have the ports established properly, and can even run the requests through audiorealm. In SongRequester, you access the system by hitting your ip:port as configured in your setup file and router. Can I access my SAM pages the same way, or must I forward the generated files out to my hosted server? Note: I AM trying to use my real web address, not just my local address. I DO have port 1221 opened on my router to go to my SAM PC. Interestingly enough, when I hit the address:port by itself (either external address, internal, or localhost), I get a text page that simply says "File not found". This is NOT a Failed To Connect page, but a page that seems to be sent from SAM. Putting an unassigned port number in gives me the FTC. If I remove the forwarding from the router I get the FTC too. It's not a big deal if I MUST forward the generated pages to my hosted server, but I was kind of thinking I could hit them directly too. Oh, I forgot to add that I CAN hit part of SAM this way. I can force a request through "ip:port/req/?songID=93&host=?" (where 93 is one of my song's ID). So, I know that SAM is serving, in some fashion or another. Is there a different sub that I should hit other than "/req/" to hit the index page? BTW, the default index.html has stuff in it, but nothing that says "File not found". Link to comment Share on other sites More sharing options...
mickeyD Posted January 4, 2009 Share Posted January 4, 2009 try to use sam only instead of 2 programms at once.. sam is excellent in making requests.. you do have to upload everything in the html directory to your website host in order to work.. sam creates a playlist if you select "general" -> html output -> generate playlist.. and uploads it using ftp to your website host. during broadcast it will also upload a playlist after every song, containing the track playing at that moment, recently played tracks and top 10 played tracks. i did not read ever about anyone accesing sam files through his own connection rather than through a external website. the problem is (my guess) sam only ftp's the pages somewhere to, and how do you ftp to your own pc? (without running a ftp server on your system as wel) ;) advantage of having the external website is.. that traffic of your station visitors will not congest your upload/download also.. it allready is busy enough streaming/ftp-ing the info and you surfing and using the pc.. i hope you can do anything with my info.. mickey'D Link to comment Share on other sites More sharing options...
tjoebgen Posted January 4, 2009 Author Share Posted January 4, 2009 Thanks Yeah, I already ftp files from my other station, and know the benefits. The one thing I couldn't make my other setup do was to let me make requests from my web host, which I seem to be able to do by relaying it through the audiorealm links. I was just hoping there was a main way into the web service, which it seems to have. Link to comment Share on other sites More sharing options...
mickeyD Posted January 4, 2009 Share Posted January 4, 2009 yes, the files sam ftp's, are on your website, and if someone requests a track, it goes throug audiorealm.. even if you are not registered! you have to ad a number of obscure ip's in your setup to allow acces to your pc (those are from audiorealm!) in sam: "config->only accept requests from... fill in these ip's: 192.168.0.1 (obvious)change this to your local IP! 83.137.194.XXX (my ip) place yours here 209.9.229.36 ( i do not know who's it is, but without it won't work www.nogff.nl (my website) place your url here www.nogff.nl/playlist (same as above) www.audiorealm.com (leave this one) 66.207.166.142 (without this 4 ip's, nothing works regarding requests!!!) so leave them 66.207.166.143 (same) 66.207.166.144 (same) 72.20.1.210 (don't know) 66.207.166.145 (leave this one, see above) 208.179.66.174 (don't know) 83.81.253.147 (don't know) i only us a shoutcast server, website host, my own website and sam to upload the info Link to comment Share on other sites More sharing options...
GKIye Posted January 4, 2009 Share Posted January 4, 2009 Hi, Just some ideas to make your requests operational at your website by using SAM : - did you added the IP of your website into the "allow" list at the config of SAM ? - did you "enabled" requests into the config > request section ? - do you use the /requestproxy/ at your website ? This makes it possible that SAM communicates with and from your website - when requests are made - did you wrote into the FTP root section of SAM your website domain name or /wwwroot/ or anything else ? /wwwroot/ works the best If all answers are "yes" than you simply has to click "generate playlists" and at your website you gonna be able to make requests. Into the "request policy" you can adjust how many requests can be made in a particular amount of time. Be sure that your website is hosted at a fixed IP, if your website is using a dynamic IP you have to add all IPs into the "allow" list + the name of your website as www.name.domain Check by yourself manually if all playlist pages are on your website .. if not you made a fault into the FTP section of SAM Hope these details where usefull The one thing I couldn't make my other setup do was to let me make requests from my web host ... Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
tjoebgen Posted January 4, 2009 Author Share Posted January 4, 2009 Hi, Just some ideas to make your requests operational at your website by using SAM : - did you added the IP of your website into the "allow" list at the config of SAM ? - did you "enabled" requests into the config > request section ? - do you use the /requestproxy/ at your website ? This makes it possible that SAM communicates with and from your website - when requests are made - did you wrote into the FTP root section of SAM your website domain name or /wwwroot/ or anything else ? /wwwroot/ works the best If all answers are "yes" than you simply has to click "generate playlists" and at your website you gonna be able to make requests. Into the "request policy" you can adjust how many requests can be made in a particular amount of time. Be sure that your website is hosted at a fixed IP, if your website is using a dynamic IP you have to add all IPs into the "allow" list + the name of your website as www.name.domain Check by yourself manually if all playlist pages are on your website .. if not you made a fault into the FTP section of SAM Hope these details where usefull Sorry - my comment about not making requests operational from my hosted web site was for my other setup - my WinAmp/SongRequester setup. I do have SAM operational for requests and all files are being sent to my hosted web site. Link to comment Share on other sites More sharing options...
GKIye Posted January 4, 2009 Share Posted January 4, 2009 oeps .. I misunderstood the content of your post anyway .. it can be helpfull to others Thanks and have a great time Sorry - my comment about not making requests operational from my hosted web site was for my other setup Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
mickeyD Posted January 4, 2009 Share Posted January 4, 2009 okay, sorry, dunno how that works.. succes! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.