Guest User

Untitled

a guest
Sep 24th, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function plugin_btsports($stream_id, $source)
  15. {
  16. global $globals;
  17. global $settings;
  18. global $streams;
  19. $plugin['name'] = 'BT Sports';
  20.  
  21. if ($globals['dev']) {
  22. console_output('Plugin: ' . $plugin['name']);
  23. }
  24.  
  25. $channel_slug = str_replace('https://www.bt.com/sport/watch/live-now/', '', $source);
  26. $channel_slug = str_replace('https://bt.com/sport/watch/live-now/', '', $channel_slug);
  27.  
  28. if ($channel_slug == 'bt-sport-1') {
  29. $channel_id = 5;
  30. }
  31. else if ($channel_slug == 'bt-sport-2') {
  32. $channel_id = 6;
  33. }
  34. else if ($channel_slug == 'bt-sport-3') {
  35. $channel_id = 7;
  36. }
  37. else if ($channel_slug == 'bt-sport-espn') {
  38. ...............................................................
  39. .....................................
  40. ............
Add Comment
Please, Sign In to add comment