Poniżej znajduje się lista Polskich streamerów. Lista Polskich streamów Online jest tworzona przeze mnie ręcznie.
Jeśli chcesz, aby i twój stream znalazł się na tej stronie skontaktuj się ze mną za pośrednictwem maila. Lista Polskich streamów obejmuje jedynie streamy w serwisie Twitch.tv
POWSTAJE POLSKA GRUPA NA TWITCH!!! ZASADY DODAWANIA OPISANE NA STRONIE GRUPY!
// This variable becomes one long url with the channel names stringed up behind it
// This url then fetches a json file from twitch with all the selected channels information
$userGrab = „http://api.justin.tv/api/stream/list.json?channel=”;
//I use this array to compare with the members array. All users in this arrat are substracted from the members array and hence are //”offline”
$checkedOnline = array();
foreach($streamList as $singleStream){
$userGrab .= „,”;
$userGrab .= $singleStream;
}
//grabs the channel data from twitch.tv streams
$json_file = file_get_contents($userGrab);
$json_array = json_decode($json_file, true);
//gets member names from stream url’s and checks for online members
foreach($streamList as $i => $singleStream){
if(isset($json_array[$i]))
{
$viewers = $json_array[$i][’channel_count’];
//checks if player streams are online
function checkOnline($viewers, $online, $meta_game, $tytul, $obraz)
{
//If the variable online is not equal to null, there is a good change this person is currently streaming
if ($online != null){
$tytul=str_replace(„\\n”, „”, $tytul);
$tytul=str_replace(„\\r”, „”, $tytul);
if(strlen($tytul) > 33){
$tytul = substr($tytul, 0, 33);
$tytul = $tytul.’…’;
}
echo ’
[php]
//This part list all the people currently offline. Here the array with online users is compared with the total users.
//online users are then removed from the total users array.
foreach ($streamList as $i => $singleStream)
{
if(in_array($singleStream, $checkedOnline))
{
unset($streamList[$i]);
}
}
//print a nice list with people that can’t currently be bothered with streaming their games
foreach ($streamList as $i => $singleStream) {
echo ’’.$singleStream.’ | ’;
}
[/php]
LIVESTREAMY
Poniżej znajduje się lista Polskich streamerów. Lista Polskich streamów Online jest tworzona przeze mnie ręcznie.
Jeśli chcesz, aby i twój stream znalazł się na tej stronie skontaktuj się ze mną za pośrednictwem maila. Lista Polskich streamów obejmuje jedynie streamy w serwisie Twitch.tv
POWSTAJE POLSKA GRUPA NA TWITCH!!! ZASADY DODAWANIA OPISANE NA STRONIE GRUPY!
[php] /**
* @version 0.1
* @copyright razor253
* @license GNU/GPL v3 http://www.gnu.org/licenses/gpl.html
*/
/**
* array with all stream names i.e. www.twitch.tv/”iksf”.
* To add more users just add their channel names with comma seperation
* This is all there is, no futher editing required
*/
$streamList = array(„SouShibo”, „RockAlone”, „GrabaGra”, „NexosHunter2”, „Flamy507”, „mojegranie”, „moskitgp”, „brunecia”, „mkrr3”, „yooguruto”, „wonziu”, „disstream”, „rojov13yt”, „dominicogame”, „ovencore”, „liranna”, „tivolt”, „xmanieqx”, „muczaczoslive”, „bit_abuser”, „icegoral”, „bungo21”, „zdobywcygier”, „pankijaszek”, „lachuhq”, „karnos82”, „rim_ejk”, „himiodzio”, „chocapicc”, „giermaniak007”, „wcs_europe_pl”, „mrcreazymonkey”, „benczek”, „lasecki”, „lanceqlp”, „gorgorn”, „borsuczajama”, „cortiss”, „newmultishow”, „kirlen”, „zielak24”, „donvvvito”, „majkel2k”, „robiestrony”, „ablinks”, „shaeri”, „tefel”, „bonkol”, „nervarien”, „survivoradios”, „bacongamers”, „mrsetokami”, „f0restpl”, „mrpavel1”, „minecraftpolska”, „buraczeknadaje”, „tybek”, „kamilshadow”, „daanieeluus”, „cobongo”, „anerso”, „letswhite”, „krisssuu”, „azerlia”, „easiey”, „lordscaremonger”, „malppa”, „divplayinggames”, „iremiiz”, „marowiertaro97”, „kiroxtv”, „mateuszek3211”, „majklive”, „ykuleczka”, „teos28”, „r3po_max”, „ksiendzu24”, „wmr2”, „ddnon3”, „marox111”, „speedy_ap”, „okaybrot”, „fximba”, „rabbit099”, „grzmott”, „wielmoznywiliam”, „mrquelux”, „kitzekeldar”, „fajka77”, „owencore”, „sargetheplayer”, „fajsoonpl”, „miraszek”, „mrmalin”, „reignofelendix”, „ShadowfiendTV”, „mmmoou”, „knup1”, „GamingStudioYankii”, „westmar76”, „remsoon”, „strielok”, „thedawidsontv”, „wajdzio”, „stream4upl”, „emigrantes1983”, „kubn2respawn”, „Perkyi”, „miodek1804”, „wito__nightmare”, „TrzmieluGameplay”, „shivatensei”, „Shinaroo”, „yuuhi84”, „asiom21”, „Porzeracz_Lekter”, „thedelavor”, „msgamergirl89”, „shredersik”, „mrmianex”, „holygamingv3”, „virtuallxi”, „delsmos”, „lustvangoth”, „rafau94”, „merupl”, „perfekt69”, „Filipeekk95”, „dembalak”, „khris190”, „faperek”, „wlodar4444”, „mikoradom”, „nawiv8”, „mchubik1”, „1krzys1”, „Kaczor_2012”, „d3vildoll”, „doggyepl”, „oscar5055”, „MinecraftNew”, „Vinuux”, „TheWario”, „kikovski1”, „maestro_sobus”, „Luksari”, „faroxim”, „dawcioogames”, „emil_kob”, „codmds”, „adison444”, „michalcov”, „owieczkatrofeow”, „darkenlive”, „enedowski”, „dombeck”, „faustynowy”, „l2pchris”, „rch512”, „nebu912”, „universesilver”, „flyjack”, „thesetka1”, „bfpl”, „xMultiGameplayGuy”, „minecraftblow”, „iDELTI”, „Mandzio”, „PolskiPingwin”, „reZiPlayGames”, „inilux”, „TheMarasTV”, „MisterCe”, „FFmrcn”, „goodplayer96”, „milosztor”, „yevelle”, „sakulos2”);
// This variable becomes one long url with the channel names stringed up behind it
// This url then fetches a json file from twitch with all the selected channels information
$userGrab = „http://api.justin.tv/api/stream/list.json?channel=”;
//I use this array to compare with the members array. All users in this arrat are substracted from the members array and hence are //”offline”
$checkedOnline = array();
foreach($streamList as $singleStream){
$userGrab .= „,”;
$userGrab .= $singleStream;
}
//grabs the channel data from twitch.tv streams
$json_file = file_get_contents($userGrab);
$json_array = json_decode($json_file, true);
//gets member names from stream url’s and checks for online members
foreach($streamList as $i => $singleStream){
if(isset($json_array[$i]))
{
$viewers = $json_array[$i][’channel_count’];
$title = $json_array[$i][’channel’][’title’];
$array = explode(’/’, $title);
$online = end($array);
$meta_game = $json_array[$i][’channel’][’meta_game’];
$tytul = $json_array[$i][’title’];
$obraz = $json_array[$i][’channel’][’image_url_tiny’];
if(checkOnline($viewers, $online, $meta_game, $tytul, $obraz))
{
$checkedOnline[] = $online;
}
}
}
//checks if player streams are online
function checkOnline($viewers, $online, $meta_game, $tytul, $obraz)
{
//If the variable online is not equal to null, there is a good change this person is currently streaming
if ($online != null){
$tytul=str_replace(„\\n”, „”, $tytul);
$tytul=str_replace(„\\r”, „”, $tytul);
if(strlen($tytul) > 33){
$tytul = substr($tytul, 0, 33);
$tytul = $tytul.’…’;
}
echo ’
’.$meta_game.’
’.$tytul.’
’.$viewers.’
return true;
}
}
[/php]
[php] //This part list all the people currently offline. Here the array with online users is compared with the total users.
//online users are then removed from the total users array.
foreach ($streamList as $i => $singleStream)
{
if(in_array($singleStream, $checkedOnline))
{
unset($streamList[$i]);
}
}
//print a nice list with people that can’t currently be bothered with streaming their games
foreach ($streamList as $i => $singleStream) {
echo ’’.$singleStream.’ | ’;
}
[/php]