Problem mit Samurize Script "gerprogram"
#1
geschrieben 04. Oktober 2004 - 17:15
Und zwar hab ich mir das Script "gerprogram" gezogen und in den Ordner Scripts verschoben, auch das Darstellen auf dem Desktop hat funktioniert,
aber es zeitg mir immer nur die Programme von gestern Nacht zwischen 0.15 und 1.15 an.
Ich hab auch das Script neu draufgemacht, aber hal nichts geholfen.
Ich hätte ja nur das aktuelle Program. (:
Kann mir jemand helfen!?
Gruß
Anzeige
#2
geschrieben 04. Oktober 2004 - 17:22
Überleg dir beim nächsten mal was zum Thema passendes
Nun zu deinen Problem:
Welches Script meinst du bzw. welche Programme werden dir angezeigt?
Ein Screenshot wäre von Vorteil
#3
geschrieben 04. Oktober 2004 - 17:26
#4
geschrieben 04. Oktober 2004 - 17:39
Wie soll ich das Script beschreiben, es heist "getProgram" und gibt es hier:
hier
Ich hoffe das es geht, denn auch sowas hab ich noch nie gemacht.
Auf alle Fälle zeitg mir das Program alle Sender Von ARD bis VIVA an.
Mit Start und Ende sowie der Film heist der grade läuft.
Ich hoffe dasmit könnt ihr was anfangen.
#6
geschrieben 04. Oktober 2004 - 17:53
Zitat (Monique: 04.10.2004, 18:39)
Wie soll ich das Script beschreiben, es heist "getProgram" und gibt es hier:
hier
Ich hoffe das es geht, denn auch sowas hab ich noch nie gemacht.
Auf alle Fälle zeitg mir das Program alle Sender Von ARD bis VIVA an.
Mit Start und Ende sowie der Film heist der grade läuft.
Ich hoffe dasmit könnt ihr was anfangen.
<{POST_SNAPBACK}>
Also ich kann dem Link nicht folgen, da ich nicht registriert bin
Naja, was am Script funzt jetzt eigentlich nicht?
Zitat (Monique: 04.10.2004, 18:40)
<{POST_SNAPBACK}>
Dazu gibts den
, damit kannst du deine Beiträge bearbeiten
#7
geschrieben 04. Oktober 2004 - 19:12
Ich hab das Script gestern draufgemacht, hat supt gefunkt. Hat mir von jedem TV Sender das laufende Program angezeigt.
Aber heute zeigt es mir immer noch das Program von gestern an!
Ich hoffe das ihr damit was anfangen könnt.
Das Script sieh ungefähr so aus:
channelopt = 0 ' Option to show channelname in the output
Genreopt = 1 ' Option to show Genre in the output
sinceopt = 1 ' Option to show since when the film is running in the output
endopt = 0 ' Option to show the time of end of the film in the output !experimental!
Genresign = "-" ' Option what sign is shown if there's no genre (used only if genreoption is enabled)
noinfo="Zur Zeit keine Info!" ' Option what to show if there's no information available for a channel
ChannelTimeSeparator = " - " ' Option what to separate station and time with (used only if both is enabled)
TimeProgramSeparator = " " ' Option what to separate time and program with (used only if time is enabled)
TimedurationSeparator= " " ' Option what to separate time and duration with (used only if time is enabled)
GenreSeparator= " ..... " ' Option what to separate duration and genre with (used only if time is enabled)
Function TVProg2File
dim html,fs,f
html = BinToText(GetHTMLBin("http://www.tvmovie.de/tv-programm/jetzt.html?nocache=true"), 32000)
set fs=CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("tvprog.tmp",true)
f.write(html)
f.close
set f=nothing
set fs=nothing
End Function
function getARD
getARD=getprogram("ARD")
end function
function getZDF
getZDF=getprogram("ZDF")
end function
function getRTL
getRTL=getprogram("RTL")
end function
function getSAT1
getSAT1=getprogram("SAT.1")
end function
function getPRO7
getPRO7=getprogram("PRO 7")
end function
function getRTL2
getRTL2=getprogram("RTL II")
end function
function getSuperRtl
getSuperRtl=getprogram("S RTL")
end function
function getKabel1
getkabel1=getprogram("KABEL")
end function
function get3SAT
get3SAT=getprogram("3SAT")
end function
function getVOX
getVOX=getprogram("VOX")
end function
function getWDR
getWDR=getprogram("WDR")
end function
function getNDR
getNDR=getprogram("NDR")
end function
function getORB
getORB=getprogram("ORB")
end function
function getB1
getB1=getprogram("B 1")
end function
function getMDR
getMDR=getprogram("MDR")
end function
function getHR
getHR=getprogram("HR")
end function
function getSWR
getSWR=getprogram("SWR")
end function
function getBR
getBR=getprogram("BR")
end function
function getKIKA
getKIKA=getprogram("KI.KA")
end function
function getARTE
getARTE=getprogram("ARTE")
end function
function get9Live
get9Live=getprogram("NEUN LIVE")
end function
function getDSF
getDSF=getprogram("DSF")
end function
function getEUROSPORT
getEUROSPORT=getprogram("EURO")
end function
function getNTV
getNTV=getprogram("NTV")
end function
function getN24
getN24=getprogram("N24")
end function
function getPhoenix
getPhoenix=getprogram("Phoenix")
end function
function getCNN
getCNN=getprogram("CNN")
end function
function getNBC
getNBC=getprogram("NBC")
end function
function getVIVA
getVIVA=getprogram("VIVA")
end function
function getVIVAPLUS
getVIVAPLUS=getprogram("VIVA PLUS")
end function
function getMTV
getMTV=getprogram("MTV")
end function
function getMTV2
getMTV2=getprogram("MTV2")
end function
function getONYX
getONYX=getprogram("ONYX")
end function
function getTele5
getTele5=getprogram("Tele 5")
end function
function getHH1
getHH1=getprogram("HH1")
end function
function getBerlin
getBerlin=getprogram("TV Berlin")
end function
function getMuenchen
getMuenchen=getprogram("TVMünchen")
end function
function getnrw
getnrw=getprogram("tv.nrw")
end function
function getFAB
getFAB=getprogram("FAB")
end function
function getXXP
getXXP=getprogram("XXP")
end function
function getHomeShoppingEurope
getHomeShoppingEurope=getprogram("Home Shopping Europe")
end function
function getQVC
getQVC=getprogram("QVC")
end function
function getORF1
getORF1=getprogram("ORF 1")
end function
function getORF2
getORF2=getprogram("ORF 2")
end function
function getSF1
getSF1=getprogram("SF 1")
end function
function getSF2
getSF2=getprogram("SF 2")
end function
function getDK1
getDK1=getprogram("DK1")
end function
function getDK2
getDK2=getprogram("DK2")
end function
function getNL1
getNL1=getprogram("NL1")
end function
function getNL2
getNL2=getprogram("NL2")
end function
function getNL3
getNL3=getprogram("NL3")
end function
function getTV5
getprogram5=getprogram("TV5")
end function
function getBRAlpha
getBRAlpha=getprogram("BR Alpha")
end function
function getEinsFestival
getEinsFestival=getprogram("EinsFestival")
end function
function getEinsMuXx
getEinsMuXx=getprogram("EinsMuXx")
end function
function getEinsExtra
getEinsExtra=getprogram("EinsExtra")
end function
function getZDFdoku
getZDFdoku=getprogram("ZDFdoku")
end function
function getPREMIEREANALOG
getPREMIEREANALOG=getprogram("PREMIERE ANALOG")
end function
function getPREMIERESTART
getPREMIERESTART=getprogram("PREMIERE START")
end function
function getPREMIERE1
getPREMIERE1=getprogram("PREMIERE 1")
end function
function getPREMIERE2
getPREMIERE2=getprogram("PREMIERE 2")
end function
function getPREMIERE3
getPREMIERE3=getprogram("PREMIERE 3")
end function
function getPREMIERE4
getPREMIERE4=getprogram("PREMIERE 4")
end function
function getPREMIERE5
getPREMIERE5=getprogram("PREMIERE 5")
end function
function getPREMIERE6
getPREMIERE6=getprogram("PREMIERE 6")
end function
function getPREMIERE7
getPREMIERE7=getprogram("PREMIERE 7")
end function
function getPREMIERENOSTALGIE
getPREMIERENOSTALGIE=getprogram("PREMIERE NOSTALGIE")
end function
function getPREMIERESERIE
getPREMIERESERIE=getprogram("PREMIERE SERIE")
end function
function getKrimiCo
getKrimiCo=getprogram("Krimi & Co.")
end function
function getDiscoveryChannel
getDiscoveryChannel=getprogram("Discovery Channel")
end function
function getKtoon
getKtoon=getprogram("K-toon")
end function
function getDisneyChannel
getDisneyChannel=getprogram("Disney Channel")
end function
function getJunior
getJunior=getprogram("Junior")
end function
function getFOXKIDS
getFOXKIDS=getprogram("FOX KIDS")
end function
function getPlanet
getPlanet=getprogram("Planet")
end function
function getStudioUniversal
getStudioUniversal=getprogram("Studio Universal")
end function
function get13THSTREET
get13THSTREET=getprogram("13TH STREET")
end function
function getClassica
getClassica=getprogram("Classica")
end function
function getGoldstarTV
getGoldstarTV=getprogram("Goldstar TV")
end function
function getBeateUhseTV
getBeateUhseTV=getprogram("Beate-Uhse-TV")
end function
function getPREMIERESPORT1
getPREMIERESPORT1=getprogram("PREMIERE SPORT 1")
end function
function getPREMIERESPORT2
getPREMIERESPORT2=getprogram("PREMIERE SPORT 2")
end function
Function getprogram(channel)
Dim html,fs,code,code2
code="nowrap"
set fs=CreateObject("Scripting.FileSystemObject")
if(fs.FileExists("tvprog.tmp")) then
Dim f
set f=fs.OpenTextFile("tvprog.tmp",1)
html = f.readall
f.close
set f=nothing
else
html = BinToText(GetHTMLBin("http://www.tvmovie.de/tv-programm/jetzt.html?nocache=true"), 35000)
end if
if instr(html, channel) = 0 then
getprogram = noinfo
Exit Function
end if
html=right(html,len(html)-instr(html,channel)+300)
html=right(html,len(html)-instr(html,">"))
html=left(html,instr(html,"bis ")+13)
'since=right(html,len(html)-instr(html," ")+6)
since=left(html,instr(html,"<")-7) 'left
endtime=right(html,len(html)-instr(html,"bis ")-8)
genre=right(html,len(html)-instr(html,"color='#ee0000'")-15)
if (instr(genre,"<br></font>")=0) then
genre=Genresign
else
genre=left(genre,instr(genre,"</font></td>")-1)
end if
film= right(html,len(html)-instr(html,"linkblack")-13)
film= left(film,instr(film,"</b>")-1)
if (channelopt=1) then
if (sinceopt=1) then
getprogram=channel&ChannelTimeSeparator&since&TimeProgramSeparator&film
else
getprogram=channel&ChannelTimeSeparator&film
end if
else
if (sinceopt=1) then
getprogram=since&ChannelTimeSeparator&endtime&TimeProgramSeparator&film
else
getprogram=film
end if
end if
if (genreopt=1) then
getprogram=getprogram&GenreSeparator&Genre
end if
if (endopt=1) then
getprogram=getprogram&GenreSeparator&endtime
end if
getprogram = replace(getprogram, "ä", "ä")
getprogram = replace(getprogram, "ü", "ü")
getprogram = replace(getprogram, "ö", "ö")
getprogram = replace(getprogram, "Ä", "Ä")
getprogram = replace(getprogram, "Ü", "Ü")
getprogram = replace(getprogram, "Ö", "Ö")
getprogram = replace(getprogram, "ß", "ß")
getprogram = replace(getprogram, """, """")
getprogram = replace(getprogram , "€", "€")
getprogram = replace(getprogram , "<", "<")
getprogram = replace(getprogram , ">", ">")
getprogram = replace(getprogram , "'", "'")
getprogram = replace(getprogram , " ", " ")
getprogram = Replace(getprogram, "¡", "¡")
getprogram = Replace(getprogram, "¢", "¢")
getprogram = Replace(getprogram, "£", "£")
getprogram = Replace(getprogram, "¤", "¤")
getprogram = Replace(getprogram, "¥", "¥")
getprogram = Replace(getprogram, "¦", "¦")
getprogram = Replace(getprogram, "§", "§")
getprogram = Replace(getprogram, "¨", "¨")
getprogram = Replace(getprogram, "©", "©")
getprogram = Replace(getprogram, "ª", "ª")
getprogram = Replace(getprogram, "«", "«")
getprogram = Replace(getprogram, "¬", "¬")
getprogram = Replace(getprogram, "­", "")
getprogram = Replace(getprogram, "®", "®")
getprogram = Replace(getprogram, "¯", "¯")
getprogram = Replace(getprogram, "°", "°")
getprogram = Replace(getprogram, "±", "±")
getprogram = Replace(getprogram, "²", "²")
getprogram = Replace(getprogram, "³", "³")
getprogram = Replace(getprogram, "´", "´")
getprogram = Replace(getprogram, "µ", "µ")
getprogram = Replace(getprogram, "¶", "¶")
getprogram = Replace(getprogram, "·", "·")
getprogram = Replace(getprogram, "¸", "¸")
getprogram = Replace(getprogram, "¹", "¹")
getprogram = Replace(getprogram, "º", "º")
getprogram = Replace(getprogram, "»", "»")
getprogram = Replace(getprogram, "¼", "¼")
getprogram = Replace(getprogram, "½", "½")
getprogram = Replace(getprogram, "¾", "¾")
getprogram = Replace(getprogram, "¿", "¿")
getprogram = Replace(getprogram, "À", "À")
getprogram = Replace(getprogram, "Á", "Á")
getprogram = Replace(getprogram, "Â", "Â")
getprogram = Replace(getprogram, "Ã", "Ã")
getprogram = Replace(getprogram, "Å", "Å")
getprogram = Replace(getprogram, "Æ", "Æ")
getprogram = Replace(getprogram, "Ç", "Ç")
getprogram = Replace(getprogram, "È", "È")
getprogram = Replace(getprogram, "É", "É")
getprogram = Replace(getprogram, "Ê", "Ê")
getprogram = Replace(getprogram, "Ë", "Ë")
getprogram = Replace(getprogram, "Ì", "Ì")
getprogram = Replace(getprogram, "Í", "Í")
getprogram = Replace(getprogram, "Î", "Î")
getprogram = Replace(getprogram, "Ï", "Ï")
getprogram = Replace(getprogram, "Ð", "Ð")
getprogram = Replace(getprogram, "Ñ", "Ñ")
getprogram = Replace(getprogram, "Ò", "Ò")
getprogram = Replace(getprogram, "Ó", "Ó")
getprogram = Replace(getprogram, "Ô", "Ô")
getprogram = Replace(getprogram, "Õ", "Õ")
getprogram = Replace(getprogram, "Ö", "Ö")
getprogram = Replace(getprogram, "×", "×")
getprogram = Replace(getprogram, "Ø", "Ø")
getprogram = Replace(getprogram, "Ù", "Ù")
getprogram = Replace(getprogram, "Ú", "Ú")
getprogram = Replace(getprogram, "Û", "Û")
getprogram = Replace(getprogram, "Ý", "Ý")
getprogram = Replace(getprogram, "Þ", "Þ")
getprogram = Replace(getprogram, "ß", "ß")
getprogram = Replace(getprogram, "à", "à")
getprogram = Replace(getprogram, "á", "á")
getprogram = Replace(getprogram, "â", "â")
getprogram = Replace(getprogram, "ã", "ã")
getprogram = Replace(getprogram, "å", "å")
getprogram = Replace(getprogram, "æ", "æ")
getprogram = Replace(getprogram, "ç", "ç")
getprogram = Replace(getprogram, "è", "è")
getprogram = Replace(getprogram, "é", "é")
getprogram = Replace(getprogram, "ê", "ê")
getprogram = Replace(getprogram, "ë", "ë")
getprogram = Replace(getprogram, "ì", "ì")
getprogram = Replace(getprogram, "í", "í")
getprogram = Replace(getprogram, "î", "î")
getprogram = Replace(getprogram, "ï", "ï")
getprogram = Replace(getprogram, "ð", "ð")
getprogram = Replace(getprogram, "ñ", "ñ")
getprogram = Replace(getprogram, "ò", "ò")
getprogram = Replace(getprogram, "ó", "ó")
getprogram = Replace(getprogram, "ô", "ô")
getprogram = Replace(getprogram, "õ", "õ")
getprogram = Replace(getprogram, "÷", "÷")
getprogram = Replace(getprogram, "ø", "ø")
getprogram = Replace(getprogram, "ù", "ù")
getprogram = Replace(getprogram, "ú", "ú")
getprogram = Replace(getprogram, "û", "û")
getprogram = Replace(getprogram, "ý", "ý")
getprogram = Replace(getprogram, "þ", "þ")
getprogram = Replace(getprogram, "ÿ", "ÿ")
end function
Function GetHTMLBin(strURL)
Dim objXMLHTTP, strReturn
Set objXMLHTTP = CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.Open "GET", strURL, False
objXMLHTTP.SEnd Cstr(Rnd())
GetHTMLBin = objXMLHTTP.responseBody
Set objXMLHTTP = Nothing
End Function
Function BinToText(varBinData, intDataSizeInBytes) ' as String
Const adFldLong = &H00000080
Const adVarChar = 200
Set objRS = CreateObject("ADODB.Recordset")
objRS.Fields.AppEnd "txt", adVarChar, intDataSizeInBytes, adFldLong
objRS.Open
objRS.AddNew
objRS.Fields("txt").AppEndChunk varBinData
BinToText = objRS("txt").Value
objRS.Close
Set objRS = Nothing
End Function
#8
geschrieben 04. Oktober 2004 - 19:26
kann es sein das der Online Abgleich durch F-Secure geblockt wird?
#9
geschrieben 04. Oktober 2004 - 19:27
Zitat (Monique: 04.10.2004, 20:26)
Jap, könnte sein.
Versuch mal Samurize ins Internet zu lassen, also die blockierung von F-Secure aufzuheben
#10
geschrieben 04. Oktober 2004 - 19:39
Kennst du ein anderes?
KAnnst du mir da was erklären, bzw. dabei helfen ein TV Script zum laufen zu bekommen?
#11
geschrieben 04. Oktober 2004 - 19:43
Zitat (Monique: 04.10.2004, 20:39)
Kennst du ein anderes?
KAnnst du mir da was erklären, bzw. dabei helfen ein TV Script zum laufen zu bekommen?
<{POST_SNAPBACK}>
Also da ich samurize selbst nicht nutze hab ich nicht die geringste Ahnung
Hast du Samurize auch wirklich den Zugriff aufs Innanet gestattet?

Hilfe
Neues Thema
Antworten
Nach oben

