[RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script

  Thread Rating:
  • 22 Votes - 4.95 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
spanktastic2120 Offline
Member
Posts: 64
Joined: Apr 2012
Reputation: 0
Post: #4201
(Yesterday 08:13)EZ1976 Wrote:  how can i create a playlist that filters trailers when they are mixed with my movie folder? they are not scraped into the database?

Is the structure like
Movies Folder/
... movie1
... trailer1
... movie2
... trailer2
... movie3
... trailer3

Or are trailers in their own folder?
If they are in their own folder you can make a tvshow.nfo file for them and create a tv show called trailers, then modify each of the trailer nfos to have episode numbers for that trailer tv show and scan that folder.
If they are not in their own folder i think you still have to make a tvshow.nfo and modify their nfos but then manually access the directory in xbmc and hit "i" on each trailer and tell xbmc what "show" it should belong to. i dont think they could be scanned in automatically if they are in a movie folder.

I dont believe you have any way to filter out just trailers from your movie folder if everything is just dumped in without the trailers being in the library somehow. There is a tool called MyLibrary, its not an addon, that can scan in anything to your library. It has a "generic" content option that might work for your situation, i know someone uses it for TED Talks and i think it works by creating a tv show to assign all your generic items to. Essentially it would accomplish what i said before but more automated. It will probably take you a while to set it up so if you only have a few trailers you would be better off manually adding them in.
find quote
EZ1976 Offline
Senior Member
Posts: 150
Joined: Apr 2012
Reputation: 1
Post: #4202
(Yesterday 10:14)spanktastic2120 Wrote:  
(Yesterday 08:13)EZ1976 Wrote:  how can i create a playlist that filters trailers when they are mixed with my movie folder? they are not scraped into the database?

Is the structure like
Movies Folder/
... movie1
... trailer1
... movie2
... trailer2
... movie3
... trailer3

Or are trailers in their own folder?
If they are in their own folder you can make a tvshow.nfo file for them and create a tv show called trailers, then modify each of the trailer nfos to have episode numbers for that trailer tv show and scan that folder.
If they are not in their own folder i think you still have to make a tvshow.nfo and modify their nfos but then manually access the directory in xbmc and hit "i" on each trailer and tell xbmc what "show" it should belong to. i dont think they could be scanned in automatically if they are in a movie folder.

I dont believe you have any way to filter out just trailers from your movie folder if everything is just dumped in without the trailers being in the library somehow. There is a tool called MyLibrary, its not an addon, that can scan in anything to your library. It has a "generic" content option that might work for your situation, i know someone uses it for TED Talks and i think it works by creating a tv show to assign all your generic items to. Essentially it would accomplish what i said before but more automated. It will probably take you a while to set it up so if you only have a few trailers you would be better off manually adding them in.


mine is located in each movie directory

movie directory
--- trailer directory
----------- Trailer 1
---------------- Trailer 1.mp4
---------------- Trailer 1.nfo

----------- Trailer 2
---------------- Trailer 2.mp4
---------------- Trailer 2.nfo


now i created a directory channel for the mail trailer dir and ptv shows them ok
but doesnt have any info from the nfo

here is the trailer channel file for example:

#EXTM3U
#EXTINF:125,Rushlights (Trailer)////
F:\11\Trailers\Rushlights (Trailer)\Rushlights (Trailer).mov
#EXTINF:113,VHS2 (Trailer Mirror)////
F:\11\Trailers\VHS2 (Trailer Mirror)\VHS2 (Trailer Mirror).mov
#EXTINF:101,The Lone Ranger (Trailer 4 Mirror)////
F:\11\Trailers\The Lone Ranger (Trailer 4 Mirror)\The Lone Ranger (Trailer 4 Mirror).mov
#EXTINF:149,About Time (Trailer)////
F:\11\Trailers\About Time (Trailer)\About Time (Trailer).mov
#EXTINF:125,Rushlights (Trailer Mirror)////
F:\11\Trailers\Rushlights (Trailer Mirror)\Rushlights (Trailer Mirror).mov


sample of the trailer nfo file

<?xml version="1.0" encoding="utf-8"?>
<movie>
<title>About Time</title>
<rating />
<year>2013</year>
<releasedate>6 September 2013</releasedate>
<top250 />
<votes />
<outline />
<plot>At the age of 21, Tim discovers he can travel in time and change what happens and has happened in his own life. His decision to make his world a better place by getting a girlfriend turns out not to be as easy as you might think.</plot>
<tagline />
<runtime />
<thumb />
<mpaa>PG_13</mpaa>
<playcount />
<id>tt2194499</id>
<credits />
<director />
<premiered />
<studio />
<quality>720p</quality>
<trailer />
<genre>Comedy / Drama / Sci-Fi</genre>
</movie>
find quote
spanktastic2120 Offline
Member
Posts: 64
Joined: Apr 2012
Reputation: 0
Post: #4203
(Yesterday 10:27)EZ1976 Wrote:  
(Yesterday 10:14)spanktastic2120 Wrote:  
(Yesterday 08:13)EZ1976 Wrote:  how can i create a playlist that filters trailers when they are mixed with my movie folder? they are not scraped into the database?

Is the structure like
Movies Folder/
... movie1
... trailer1
... movie2
... trailer2
... movie3
... trailer3

Or are trailers in their own folder?
If they are in their own folder you can make a tvshow.nfo file for them and create a tv show called trailers, then modify each of the trailer nfos to have episode numbers for that trailer tv show and scan that folder.
If they are not in their own folder i think you still have to make a tvshow.nfo and modify their nfos but then manually access the directory in xbmc and hit "i" on each trailer and tell xbmc what "show" it should belong to. i dont think they could be scanned in automatically if they are in a movie folder.

I dont believe you have any way to filter out just trailers from your movie folder if everything is just dumped in without the trailers being in the library somehow. There is a tool called MyLibrary, its not an addon, that can scan in anything to your library. It has a "generic" content option that might work for your situation, i know someone uses it for TED Talks and i think it works by creating a tv show to assign all your generic items to. Essentially it would accomplish what i said before but more automated. It will probably take you a while to set it up so if you only have a few trailers you would be better off manually adding them in.


mine is located in each movie directory

movie directory
--- trailer directory
----------- Trailer 1
---------------- Trailer 1.mp4
---------------- Trailer 1.nfo

----------- Trailer 2
---------------- Trailer 2.mp4
---------------- Trailer 2.nfo


now i created a directory channel for the mail trailer dir and ptv shows them ok
but doesnt have any info from the nfo

here is the trailer channel file for example:

#EXTM3U
#EXTINF:125,Rushlights (Trailer)////
F:\11\Trailers\Rushlights (Trailer)\Rushlights (Trailer).mov
#EXTINF:113,VHS2 (Trailer Mirror)////
F:\11\Trailers\VHS2 (Trailer Mirror)\VHS2 (Trailer Mirror).mov
#EXTINF:101,The Lone Ranger (Trailer 4 Mirror)////
F:\11\Trailers\The Lone Ranger (Trailer 4 Mirror)\The Lone Ranger (Trailer 4 Mirror).mov
#EXTINF:149,About Time (Trailer)////
F:\11\Trailers\About Time (Trailer)\About Time (Trailer).mov
#EXTINF:125,Rushlights (Trailer Mirror)////
F:\11\Trailers\Rushlights (Trailer Mirror)\Rushlights (Trailer Mirror).mov


sample of the trailer nfo file

<?xml version="1.0" encoding="utf-8"?>
<movie>
<title>About Time</title>
<rating />
<year>2013</year>
<releasedate>6 September 2013</releasedate>
<top250 />
<votes />
<outline />
<plot>At the age of 21, Tim discovers he can travel in time and change what happens and has happened in his own life. His decision to make his world a better place by getting a girlfriend turns out not to be as easy as you might think.</plot>
<tagline />
<runtime />
<thumb />
<mpaa>PG_13</mpaa>
<playcount />
<id>tt2194499</id>
<credits />
<director />
<premiered />
<studio />
<quality>720p</quality>
<trailer />
<genre>Comedy / Drama / Sci-Fi</genre>
</movie>

Ok i see, since the nfo files for them have them all listed as movies you can scan them into xbmc, (it should pick them up on its own really) and then make a movie smart playlist for them with one field being "path contains 'trailers' " or something, and the other fields can be whatever you want like "genre is action" or something. Then setup PTV to use those smart playlists for its channels.

The only issue you would encounter with this is when browsing your library youll appear to have duplicates of every movie but some of them will be your trailers. I believe however that you can modify your xbmc skin so that selecting the "movies" option from the main menu actually shows a listing from a smart playlist, which could just be "path does not contain 'trailers' " and you would be all set.
find quote
EZ1976 Offline
Senior Member
Posts: 150
Joined: Apr 2012
Reputation: 1
Post: #4204
Ok i see, since the nfo files for them have them all listed as movies you can scan them into xbmc, (it should pick them up on its own really) and then make a movie smart playlist for them with one field being "path contains 'trailers' " or something, and the other fields can be whatever you want like "genre is action" or something. Then setup PTV to use those smart playlists for its channels.

The only issue you would encounter with this is when browsing your library youll appear to have duplicates of every movie but some of them will be your trailers. I believe however that you can modify your xbmc skin so that selecting the "movies" option from the main menu actually shows a listing from a smart playlist, which could just be "path does not contain 'trailers' " and you would be all set.
[/quote]


ok
can i change someing in the NFO files so it will show only in PTV under directory channel?
or must i scrape them into xbmc's database?

why doesnt PTV display the NFO if that file exist?
(This post was last modified: Yesterday 13:55 by EZ1976.)
find quote
spanktastic2120 Offline
Member
Posts: 64
Joined: Apr 2012
Reputation: 0
Post: #4205
(Yesterday 12:43)EZ1976 Wrote:  can i change someing in the NFO files so it will show only in PTV under directory channel?
or must i scrape them into xbmc's database?

why doesnt PTV display the NFO if that file exist?

PTV doesnt look for nfo files, those exist solely for xbmc when adding content to your library.
When using a directory channel PTV doesnt get any metadata, it just plays what you have in the directory and does not communicate with xbmc's database at all, which is why you just get file names.
If you scrape them into the database and make it a playlist channel or something, PTV will get the metadata from xbmc and display it as whatever xbmc displays it as.
find quote
EZ1976 Offline
Senior Member
Posts: 150
Joined: Apr 2012
Reputation: 1
Post: #4206
(Yesterday 14:26)spanktastic2120 Wrote:  
(Yesterday 12:43)EZ1976 Wrote:  can i change someing in the NFO files so it will show only in PTV under directory channel?
or must i scrape them into xbmc's database?

why doesnt PTV display the NFO if that file exist?

PTV doesnt look for nfo files, those exist solely for xbmc when adding content to your library.
When using a directory channel PTV doesnt get any metadata, it just plays what you have in the directory and does not communicate with xbmc's database at all, which is why you just get file names.
If you scrape them into the database and make it a playlist channel or something, PTV will get the metadata from xbmc and display it as whatever xbmc displays it as.

thanks
that is a lot more logical.
but i really dont want 300 trailers in the xbmc database that will appear as a normal movie.
too bad i cant make a playlist that can access a directory rather than the database
find quote
spanktastic2120 Offline
Member
Posts: 64
Joined: Apr 2012
Reputation: 0
Post: #4207
(Yesterday 15:13)EZ1976 Wrote:  but i really dont want 300 trailers in the xbmc database that will appear as a normal movie.

http://wiki.xbmc.org/index.php?title=Custom_video_nodes
with a little work you dont have to see them. just make one that excludes items whose path contains "trailer" like i said before.
find quote
Lunatixz Offline
Fan
Posts: 401
Joined: May 2011
Reputation: 7
Location: New York
Post: #4208
@EZ1976 unfortunately you have to scrape the media in order to use PTV... otherwise you can just setup a channel in PTV to play a directory, but it will not display movie info....

If you follow my directions posted earlier you would end up with a folder (movie set) in your movie collection labeled trailers... with fanart it wouldn't be noticeable, but it would contain all your trailers which you can use in PTV...

as Spanktastic2120 stated... nfo's are for xbmc to scrape the media into the library from there ptv can use that data...

as for playlists... once you decided how you want to approach trailers in your setup... I'll help you set one up...

[Image: Lunatixz.png]
[Image: all-thin-banner@2x.jpg]
Please add to my Reputation if I helped...
(This post was last modified: Yesterday 18:07 by Lunatixz.)
find quote
Post Reply