Create a site for diziizle.net (1 Viewer)

CetinTek

Portal Pro
December 5, 2012
67
65
44
Home Country
Germany Germany
Hello everybody,

I try to create a site for the Website diziizle.net.
It shows the categories an the videolists, but when
I try to start a video, an error occur.

The reason is, that the site have no formats like mp4 or flv.
There is only the urls to the videos without a format.

I hope somebody can make an example for me.
Please excuse me for my bad english.

best regards
Cetin
 

CetinTek

Portal Pro
December 5, 2012
67
65
44
Home Country
Germany Germany
yes, here it is

XML:
<Site name="diziizle.net" util="GenericSite" agecheck="false" enabled="true" lang="tr">
  <Description>Dizi bakmak icin</Description>
  <Configuration>
	<item key="dynamicCategoriesRegEx"><![CDATA[<a\shref="(?<url>[^"]*)">(?<title>[^<]*)</a>\s<img\ssrc="(?<thumb>[^"]*)"\swidth="2"\sheight="38"\salign="absmiddle">\s]]></item>
	<item key="videoListRegEx"><![CDATA[<div\sclass="resim"\sid="[^"]*"><a\shref="(?<VideoUrl>[^"]*)"><img\ssrc="(?<ImageUrl>[^"]*)"\swidth="100"\sheight="75"\sborder="0"></a></div>\s*<div\sclass="ad"><a\shref="[^"]*">(?<Title>[^<]*)</a></div>]]></item>
	<item key="baseUrl"><![CDATA[http://www.diziizle.net/]]></item>
	<item key="forceUTF8Encoding"><![CDATA[True]]></item>
  </Configuration>
</Site>
 

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,638
    3,062
    Nuenen
    Home Country
    Netherlands Netherlands
    you could use
    Code:
    <iframe\sframeborder='0'\sstyle='overflow:\shidden;\sborder:\s0;\swidth:\s353px;\sheight:\s297px'\ssrc='(?<m0>[^']*)'\sscrolling='no'></iframe>
    for fileurl (perhaps clean up a bit)
    because in the one example the resulting url looked like "http://www.<wellknownhoster>.net/embed/yg484slel6m8k/?/?width=353&height=267" and I don't know if onlinevideos can handle the ?/?width= stuff
    Be sure to set "resolve hoster" to "FromUrl" so onlinevideos can produce the correct results for all known hosters.

    This wont give the final, playable url in the siteparser, but it's going to work in mediaportal itself
     

    CetinTek

    Portal Pro
    December 5, 2012
    67
    65
    44
    Home Country
    Germany Germany
    hello doskabouter,

    thank you for your answer. Where do i have to insert your posted code?
    I am does not familiar with the OnlineVideosPlugin. Can you please explain this step by step?

    Update:
    ok, I found it. I have try it with the iframe-code.

    Code:
    <item key="fileUrlRegEx"><![CDATA[<iframe\ssrc="(?<m0>[^"]*)"\sborder="0"\swidth="[^"]*"\sheight="[^"]*"\sframeborder="0"\sscrolling="no"></iframe>]]></item>

    I also set "resolve hoster" to "FromUrl".

    but an error occur: Failed to get the play addresses

    Update2:
    now, this error occur: DemuxerNotCreatedAlldataReceived

    Update3:
    in the browser the result iframe url works fine, but it doesn't works in mediaportal

    What can I do?
     
    Last edited:

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,638
    3,062
    Nuenen
    Home Country
    Netherlands Netherlands
    It seems that I was a bit quick on the "resolvehoster" part.

    Apparently, this site uses a couple of hosters that aren't implemented (yet). The example I tested was with movshare, which is implemented, and it worked correctly.

    So, if you want this site fully functional, it's going to take some time to find and implement all the different hosters which are used
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I just visited this site because I wasn't sure if it was slang for a rap site, or a foreign word that I didn't know. I'm now guessing the later.
     

    Users who are viewing this thread

    Top Bottom