Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Cip committed Jan 5, 2015
1 parent 838faaf commit f4fda01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.streams"
name="Streams"
version="0.2.4"
version="0.2.5"
provider-name="Moromete">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v 0.2.5 (05.01.2015)
1. fix play from fastupload (990.ro)

v 0.2.4 (04.01.2015)
1. call sopcast binary from plugin for linux x86
2. change pytz dependecy from python module to "script.module.pytz" addon
Expand Down
7 changes: 4 additions & 3 deletions play_fastupload_ro.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
import xbmc, xbmcgui
import os, os.path, re
import urllib2
import glob
from glob import addon_log, Downloader, message, addon
from settings import SETTINGS

def grab_fu_stream(name, url):


try:
opener = urllib2.build_opener()
opener.addheaders = [('User-agent', 'Mozilla/5.0')]
response = opener.open(url)
source_txt = response.read()
except Exception as inst:
source_txt = ""

#temp = os.path.join(SETTINGS.ADDON_PATH,"temp.htm")
#Downloader(url, temp, addon.getLocalizedString(30065), name) #Downloading page for parsing stream url
#f = open(temp)
Expand Down

0 comments on commit f4fda01

Please sign in to comment.