Kodi Community Forum
XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) (/showthread.php?tid=98210)



RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - hellohello - 2013-06-08

Code:
<MTV custom_parser="PlayOn"  recursive="true">
        <subfolder name="Popular Shows/Awkward./Full Episodes" force_series="Awkward." type="episodes" />
</MTV>

I don't think you can force a season, however, you might want to try to force a tvdb lookup( <force_tvdb="true"> )

also, it looks like you are missing a directory in your path. shouldn't it be:

Code:
        <subfolder name="Shows/Popular Shows/Awkward./Full Episodes" force_series="Awkward." force_tvdb="true" type="episodes" />
?


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - redhalo - 2013-06-10

(2013-06-07, 23:08)redhalo Wrote: Does the parser tag not work for music videos?

Code:
<subfolder name="Favorite Artists" >
    <parser>
        <regexp>()(^.*?(?= \())</regexp>
    </parser>    
    <filter>
        <regexp>\([a-zA-Z]</regexp>
    </filter>
</subfolder>

The idea is to grab videos from VEVO with parentheses in the title and then remove said parentheses and everything within for better scraping.

Reposting in case it got missed on the previous page.


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - marcdd2 - 2013-06-10

So I played around with the custom parsing and got it to work.

Code:
<MTV recursive="true">
   <subfolder name="Popular Shows/Awkward./Full Episodes" type="episodes" force_series="Awkward." force_tvdb="true">
      <parser>
         <!--Series Name will come out blank so force the series above.  Episode Name will be everything after the last | -->
         <regexp>()([^|]*$)</regexp>
      </parser>
   </subfolder>
</MTV>



RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - locoguano - 2013-06-11

I am using this to add HBO Go series to my library using:
Code:
        <Playon custom_parser="PlayOn" recursive="true" >
            <!-- HBO Go -->
            <subfolder name="HBO GO/Series/Series A to Z/True Blood" recursive="false" suffix=" [HBO Go]" type="episodes" />
        </Playon>
It is getting good results, but the resulting .strm is not working. The info inside the .strm is something like this:
Code:
upnp://d444e20a-a7cc-4e92-8444-72b4364e8e7/hbogo-feb444a8-b7e3-4dc1-asfg-1255lfljsa3c1b

Any ideas?


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - hellohello - 2013-06-11

@locoguano,

Playon just updated their software, which in turn means you have to re-scrape your shows. Have you tried that?


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - locoguano - 2013-06-11

Posted this immediately after scraping them... So that's not it Smile


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - redhalo - 2013-06-11

I've found you have to reboot XBMC before running MyLibrary. In fact there's an option specifically for that when using PlayOn sources. Are you doing that?


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - locoguano - 2013-06-12

Nope... Guess I'll give it a shot.


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - locoguano - 2013-06-12

Yeah... XBMCFlicks is not longer naming properly. Reports any episode as sxxe00. Using the force_tvdb is hit and miss. I'd say 70% of the episodes I scanned were found. Movies still work fine.


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - marcdd2 - 2013-06-12

(2013-06-11, 07:00)locoguano Wrote: I am using this to add HBO Go series to my library using:
Code:
        <Playon custom_parser="PlayOn" recursive="true" >
            <!-- HBO Go -->
            <subfolder name="HBO GO/Series/Series A to Z/True Blood" recursive="false" suffix=" [HBO Go]" type="episodes" />
        </Playon>
It is getting good results, but the resulting .strm is not working. The info inside the .strm is something like this:
Code:
upnp://d444e20a-a7cc-4e92-8444-72b4364e8e7/hbogo-feb444a8-b7e3-4dc1-asfg-1255lfljsa3c1b

Any ideas?

A couple of shots in the dark.

There was an issue with PlayOn's upnp addresses changing after every reboot. You have to run MyLibrary again. You can a shortcut to the .bat in you Startup folder. (I think this may have been resolved)

Do other streams work? I don't use HBO Go with PlayOn and instead am using AirPlay. My guess is that it is glitchy since PlayOn doesn't store your Username and Password.

Judging by your upnp address this isn't it, but are you using the ipchange in the config file? Your IP addresses may be coming in as localhost or 12.0.0.1. Make sure that you put in the correct IP as well as switch the ipchange to "true."


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - wirsteve - 2013-06-13

From someone who is learning with every mistake, and from every post on this thread, I would love to see a working section of code for HBO Go and Amazon Prime. My subscriptions are being used the way they could be...

Sincerely,
Someone who loves XBMC and MyLibrary but stinks at programming.


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - marcdd2 - 2013-06-13

[Removed]


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - ajamer - 2013-06-15

Hi guys, programming noob here.

I'm getting this error

WARN Archiving Cannot be archived: series=null, title=[COLOR green]25 Channel[/COLOR], season=-1, episode=-1
Teledunet/All/[COLOR green]25 Channel[/COLOR]

when trying to archive live streams from a blugin, I assume I am parsing things wrong. I have no programming backgound. What should I use as a regexp and is that my only problem?


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - LongMan - 2013-06-16

@bradvido88
Thanks for a very useful program.
A quick question. The output files for movies are in the format Title.strm. What do I need to do to get Title (Year).strm.

You help would be greatly appreciated.

LongMan


RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - marcdd2 - 2013-06-17

(2013-06-15, 23:41)ajamer Wrote: Hi guys, programming noob here.

I'm getting this error

WARN Archiving Cannot be archived: series=null, title=[COLOR green]25 Channel[/COLOR], season=-1, episode=-1
Teledunet/All/[COLOR green]25 Channel[/COLOR]

when trying to archive live streams from a blugin, I assume I am parsing things wrong. I have no programming backgound. What should I use as a regexp and is that my only problem?

Are the files all named "[COLOR green]Episode Name[/COLOR]"?