Channels Plugin
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
- SharkHunter
- Developer
- Posts: 648
- Joined: Fri Jun 01, 2012 9:36 pm
Re: Channels Plugin
Try and update your icefilms.ch with this
Code: Select all
version=0.56
###############################
## IceFilms new method of
## fecting url's
## Thx to infidel for big parts
## of this script
#################################
scriptdef iceGo {
print s_url
id=s_url
# get postdata vals
regex='f\.lastChild\.value="(.+?)"
match htmRaw
sec=v1
print sec
regex='&t=(\d+)
match htmRaw
t=v1
# build postdata string
# e.g. id=189537&s=16&iqs=&url=&m=-99&cap=&sec=37fn8Oklq&t=4524
# note: faking s,m (s:elapsed seconds, m:'onmousemove="m-=1"')
s_postdata='id=
concat s_postdata id
concat s_postdata '&s=11&iqs=
concat s_postdata '&url=&m=-77&cap=
concat s_postdata '&sec=
concat s_postdata sec
concat s_postdata '&t=
concat s_postdata t
print s_postdata
# set request method, header, cookie and send (using xbmc icefilms addon as model)
s_method='post
s_referer='http://www.icefilms.info
s_url='http://www.icefilms.info/membersonly/components/com_iceplayer/video.phpAjaxResp.php
#e.g /membersonly/components/com_iceplayer/GMorBMlet.php?url=http%3A%2F%2Fwww.megaupload.com%2F%3Fd%3DS6CLEDC2&
regex='url=(.+)
scrape
url=v1
unescape url
print url
play
}
##############################
## Subtitle name mangle
## script for IceFilms
##############################
scriptdef iceSubs {
full_url=s_url
url=s_url
regex='\((\d+)\)
match s_url
year=v1
v1='
replace url '
s_url=url
regex='(\d+)x(\d+)
match s_url
season=v1
episode=v2
regex='(\d+x\d+) .*
replace url '
play
}
#################################
## Rapidshare script
#################################
scriptdef rsScript {
print s_url
regex='\/files\/([^\/]+)\/(.*)
match s_url
s_url='https://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download&try=1&fileid=
id=v1
name=v2
concat s_url v1
concat s_url '&filename=
concat s_url v2
if user
escape user
concat s_url '&login=
concat s_url user
escape pwd
concat s_url '&password=
concat s_url pwd
endif
regex='DL:([^,]+),([^,]+),([^,]+)
scrape
if v2 == '0
url='https://
else
url='http://
endif
concat url v1
concat url '/cgi-bin/rsapi.cgi?sub=download&fileid=
concat url id
concat url '&filename=
concat url name
concat url '&dlauth=
concat url v2
if user
concat url '&login=
concat url user
concat url '&password=
concat url pwd
endif
pms_stash.sleep=v3
play
}
#############################
## 180Upload script
#############################
scriptdef 180Script {
regex='180upload.com/(.*)
match s_url
id=v1
regex='fname" value="([^"]+)"
scrape
fname=v1
op='&op=download1
s_postdata='id=
concat s_postdata id
concat s_postdata '&fname=
concat s_postdata fname
concat s_postdata '&method_free=Free+Download
tmp=s_postdata
concat s_postdata op
s_method='post
regex='name="rand" value="([^"]+)"
scrape
rand=v1
s_postdata=tmp
concat s_postdata '&op=download2&down_direct=1&btn_download=Free+Download&rand=
concat s_postdata rand
s_method='post
#<a href="http://173.193.242.242/files/2/x3xa8wxs4nf1du/Altair_The_Walking_Dead.S02E12.HDTV.XviD-FQM.avi">
regex='<a href="[^"]+">(http[^<]+)</a>
scrape
url=v1
play
}
#############################
## vidhog script
#############################
scriptdef vhScript {
regex='vidhog.com/(.*)
match s_url
id=v1
s_postdata='op=download1&id=
concat s_postdata id
s_method='post
regex='name="rand" value="([^"]+)">
scrape
rand=v1
s_postdata='op=download2&id=
concat s_postdata id
concat s_postdata '&rand=
concat s_postdata rand
sleep '30000
scrape
#<strong><a href="http://s5a.vidhogservers.com:182/d/f2dtskjmnjhr3p57toqiwn362dn5x6h7zfgxig7fa3fy42g6s5qv2raf/the.big.bang.theory.s05e20.hdtv.xvid-fqm.avi">
regex='<strong><a href="([^"]+)">
scrape
url=v1
play
}
#############################
## ShareBee script
#############################
scriptdef SBScript {
regex='sharebees.com/(.*)
match s_url
id=v1
regex='fname" value="([^"]+)"
scrape
fname=v1
op='&op=download1
s_postdata='id=
concat s_postdata id
concat s_postdata '&fname=
concat s_postdata fname
concat s_postdata '&method_free=Free+Download
tmp=s_postdata
concat s_postdata op
s_method='post
#<a href="http://173.193.242.242/files/2/x3xa8wxs4nf1du/Altair_The_Walking_Dead.S02E12.HDTV.XviD-FQM.avi">
regex='name="rand" value="([^"]+)
scrape
rand=v1
s_postdata=tmp
concat s_postdata '&op=download2&down_direct=1&btn_download=Create+Download+Link&rand=
concat s_postdata rand
regex='>(http://[^<]+)</a>
scrape
url=v1
play
}
#############################
## The actual scrpaer
#############################
macrodef rsTvmacro {
media {
# Rapidshare
#https://rapidshare.com/files/2029276453/The.Big.Bang.Theory.S05E14.HDTV.XviD-LOL.avi"
script=rsScript
prop=name_index=2+1,delay=dynamic
subtitle=s4u
}
}
macrodef 180Tvmacro {
media {
# 180 upload
script=180Script
prop=name_index=2+1
subtitle=swesub,s4u
}
}
macrodef SbTvmacro {
media {
# ShareBees
script=SBScript
prop=name_index=2+1
subtitle=swesub,s4u,ut.se
}
}
macrodef vhTvmacro {
media {
# VidHog
script=vhScript
prop=name_index=2+1
subtitle=s4u
}
}
macrodef rsmediaMacro {
media {
script=rsScript
prop=name_index=2,delay=dynamic
subtitle=s4u,allSubs,podnapisiMovie
}
}
macrodef 180mediaMacro {
media {
script=180Script
prop=name_index=2,delay=dynamic
subtitle=s4u,allSubs,podnapisiMovie
}
}
macrodef tvMacro {
folder {
# Series
#<img class=star><a href=/tv/series/1/565>'Til Death (2006)</a>
matcher=<a name=i id=([^>]+)></a><img class=star><a href=([^>]+)>([^<]+)</a>
order=imdb,url,name
#matcher=<img class=star><a href=([^>]+)>([^<]+)</a>
#order=url,name
url=http://www.icefilms.info
# thumb_script=imdbThumb
prop=movieinfo
folder {
# Episodes
#img class=star><a href=/ip.php?v=124783&>Jan 31. Bill Gates</a>
matcher=<img class=star><a href=([^>]+)>([^<]+)</a>
order=url,name
url=http://www.icefilms.info
folder {
# <iframe id="videoframe" src="/membersonly/components/com_iceplayer/video.php?h=374&w=631&vid=4524&img=&ttl=30+Rock+1x01+Pilot+%282006%29" width="631" height="392" frameborder="0" marginwidth="0" marginheight="0" scrolling="no">
matcher=src=\"(/membersonly/comp[^\"]+)\"
order=url,thumb
url=http://www.icefilms.info
type=empty
post_script=iceGo
folder {
# onclick='go(247108)'>Source #1|PART 1
matcher='go\(([0-9]+)\)'>(Source #[0-9]+|PART [0-9]+)[^<]+<span title='[^R]+(RapidShare)
order=url,name,name
prop=name_separator=###0
type=empty
macro=rsTvmacro
}
folder {
matcher=go\(([0-9]+)\)'>(Source #[0-9]+|PART [0-9]+)[^<]+<span title="[^S]+(ShareBees)
order=url,name,name
prop=name_separator=###0
type=empty
macro=SbTvmacro
}
folder {
matcher=go\(([0-9]+)\)'>(Source #[0-9]+|PART [0-9]+)[^<]+<span title='[^1]+(180upload)
order=url,name,name
prop=name_separator=###0
type=empty
macro=180Tvmacro
}
}
}
}
}
macrodef movieMacro {
folder {
# Movies
#<img class=star><a href=/tv/series/1/565>'Til Death (2006)</a>
matcher=<a name=i id=([^>]+)></a><img class=star><a href=([^>]+)>([^<]+)</a>
order=imdb,url,name
url=http://www.icefilms.info
#thumb_script=imdbThumb
prop=movieinfo
folder {
# <iframe id="videoframe" src="/membersonly/components/com_iceplayer/video.php?h=374&w=631&vid=4524&img=&ttl=30+Rock+1x01+Pilot+%282006%29" width="631" height="392" frameborder="0" marginwidth="0" marginheight="0" scrolling="no">
matcher=src=\"(/membersonly/comp[^\"]+)\"
order=url
url=http://www.icefilms.info
type=empty
post_script=iceGo
folder {
# onclick='go(247108)'>Source #1|PART 1
matcher='go\(([0-9]+)\)'>(Source #[0-9]+|PART [0-9]+)[^<]+<span title='[^R]+(RapidShare)
order=url,name,name
prop=name_separator=###0
macro=rsmediaMacro
}
folder {
# onclick='go(247108)'>Source #1|PART 1
matcher=matcher=go\(([0-9]+)\)'>(Source #[0-9]+|PART [0-9]+)[^<]+<span title='[^1]+(180upload)
order=url,name,name
prop=name_separator=###0
macro=180mediaMacro
}
}
}
}
channel IceFilms {
img=http://img.icefilms.info/logo.png
subscript=iceSubs
# hdr=Referer=http://www.megaupload.com/?c=login
folder {
name=TV Shows
folder {
#Popular
name=Popular
url=http://www.icefilms.info/tv/popular/1
macro=tvMacro
}
folder {
name=A-Z
type=atzlink
url=http://www.icefilms.info/tv/a-z
prop=other_string=1
macro=tvMacro
}
folder {
#Rating
name=Rating
url=http://www.icefilms.info/tv/rating/1
macro=tvMacro
}
folder {
#Release
name=Release
url=http://www.icefilms.info/tv/release/1
macro=tvMacro
}
}
folder {
name=Movies
folder {
name=Popular
url=http://www.icefilms.info/movies/popular/1
macro=movieMacro
}
folder {
name=A-Z
type=atzlink
url=http://www.icefilms.info/movies/a-z
prop=other_string=1
macro=movieMacro
}
folder {
#Rating
name=Rating
url=http://www.icefilms.info/movies/rating/1
macro=movieMacro
}
folder {
#Release
name=Release
url=http://www.icefilms.info/movies/release/1
macro=movieMacro
}
}
}
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
We believe in: rough consensus and running code.
Re: Channels Plugin
replaced it but still not playing, however doesnt show the ffpeg error anymore, updated logs attached
- Attachments
-
- ums_dbg.zip
- (202.89 KiB) Downloaded 1756 times
- SharkHunter
- Developer
- Posts: 648
- Joined: Fri Jun 01, 2012 9:36 pm
Re: Channels Plugin
Hmm, Crap upload stuff
Attaching file instead, unzip and replace
Attaching file instead, unzip and replace
- Attachments
-
- icefilms.zip
- (2.58 KiB) Downloaded 1456 times
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
We believe in: rough consensus and running code.
- SharkHunter
- Developer
- Posts: 648
- Joined: Fri Jun 01, 2012 9:36 pm
Re: Channels Plugin
Now you get the correct url at least. Pls change debug level to trace..And redo
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
We believe in: rough consensus and running code.
Re: Channels Plugin
sorry for the dumb question but how do i do that?
Re: Channels Plugin
c'mon now, you know there is no such thing as a dumb question.
just a guess but maybe "channels.debug = trace" instead of "channels.debug = true" in the config file. That doesn't really fit the concept of a "true/false" variable setting, as I understand it, but in the realm of common sense........


just a guess but maybe "channels.debug = trace" instead of "channels.debug = true" in the config file. That doesn't really fit the concept of a "true/false" variable setting, as I understand it, but in the realm of common sense........

Peace!
-
- Posts: 16
- Joined: Tue Jun 05, 2012 6:54 am
Re: Channels Plugin
Before I bang my head into the wall any harder trying to set this plugin up I have a question. Does this even work on the Xbox360? On both of the channels I'm trying to use (A playlist in Navix that I created with a few YouTube videos in it to test and the default included YouTube sample setup), I get nothing but 'Add to favorite [MEncoder]'. If it's not working for the 360 yet then I'll just go ahead and stop trying for now but if it's just an issue with my setup then I'd like to try and fix it. I'm attaching copies of both my debug.log and channels.log however, the channels.log will be slightly sanitized since otherwise my Google Account password would be in there ^_^
- Attachments
-
- ums_dbg.zip
- UMS Debug Files
- (77.89 KiB) Downloaded 1405 times
- SharkHunter
- Developer
- Posts: 648
- Joined: Fri Jun 01, 2012 9:36 pm
Re: Channels Plugin
Nope this has never really 100% worked on Xbox. Mostly since Xbox things that everything should be in WMV format. You could try and add the more experimental switch "channels.net_disc=true" to your UMS.conf and see if it works. I've tried to get this to work over 1000 times and never got right all the way....CardcaptorRLH85 wrote:Before I bang my head into the wall any harder trying to set this plugin up I have a question. Does this even work on the Xbox360? On both of the channels I'm trying to use (A playlist in Navix that I created with a few YouTube videos in it to test and the default included YouTube sample setup), I get nothing but 'Add to favorite [MEncoder]'. If it's not working for the 360 yet then I'll just go ahead and stop trying for now but if it's just an issue with my setup then I'd like to try and fix it. I'm attaching copies of both my debug.log and channels.log however, the channels.log will be slightly sanitized since otherwise my Google Account password would be in there ^_^
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
We believe in: rough consensus and running code.
-
- Posts: 9
- Joined: Thu Jun 07, 2012 9:29 am
Re: Channels Plugin
when i try to install any of the plugins, a small box pops up top left of the screen for a split second then disappears ...nothing changes ...no channels ...no movieinfo ...nuttin' ...really wished it worked ...peace