Author Topic: Automatic importing of XBMC items  (Read 10499 times)

0 Members and 2 Guests are viewing this topic.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Automatic importing of XBMC items
« Reply #15 on: September 04, 2010, 10:22:17 PM »
James, tem como conseguir automatizar a  geração de arquivos XML para os seriados, ou pelo menos para os episódios de um determinado seriado (TV SHOW)?
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Automatic importing of XBMC items
« Reply #16 on: September 04, 2010, 11:05:21 PM »
I looked at this, but I am not sure how to do it.  It is a bit confusing.  How would you imagine it working?  Just from a user point of view.

The problem is that XBMC is actually not very well set up for this kind of thing.  Even with the movies, it does not really work the way I would like.  It will play the move, but I would prefer if it took me to the details page of the moviie and then I could choose to play it.

With the TV shows, I would like it to take me to the view of all seasons of the show (NAME) when I say (NAME).  Even better would be if it took me to the current season and the next show that I have not seen yet.  But I don't know how to do that exactly.  Have you looked at the xbmc http command website at all?  There are two references that are helpful.

http://wiki.xbmc.org/index.php?title=Web_Server_HTTP_API

http://wiki.xbmc.org/?title=The_XBMC_Database

I can get a list of the TVShow's name, or even a list of all Episode names into an xml file for you in GENxml, but the problem is creating a command that uses the payloadXML to do something useful in XBMC.

Any ideas?

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Automatic importing of XBMC items
« Reply #17 on: September 05, 2010, 09:19:08 AM »
I believe that having a way to run a particular episode would already be ok, we hardly distinct episodes of TV series of the same name .. think like a song until we have another one then use the menu option to choose the right option .. there is a feature of listing all episodes of a tv show, using visualization model called the Short List, ordered by season S01E01, S01E02, S02E01, s02e02, s03e01, and so on in a single list, I believe that this may assist you in any way.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Automatic importing of XBMC items
« Reply #18 on: September 05, 2010, 09:39:59 AM »
but assuming that I know the name of the show.  How do I get to the short list for that show using the xbmc  http api?  that is the challenge.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Automatic importing of XBMC items
« Reply #19 on: September 05, 2010, 11:25:16 AM »
part of the problem is that xbmc just doesn't work the way it is supposed to and I don't seem to be able to get any support form the xbmc community.

these two commands:

- addtoplaylistfromdb(episodes; idEpisode=3)
- addtoplaylistfromdb(movies; idMovie=3)

should allow me to add tvshows and movies to the playlist the same way that I do it with music.  When I issue these commands, they do get added to the playlist, but then they won't play.  Try it.  I have posted to the xbmc forums, but either no one is reading them or no one knows the answer.

I updated to the latest release of xbmc to see if this was fixed.  It isn't and now my jumpsms and filtersms keys don't work anymore.  This was my other idea, to jump to the TVShow window and then use SMSFillter to get the show you want... 

In addition, in the last version of xbmc that I tried the command

execbuiltin(ActivateWindow(videolibrary,tvshowtitles))

didn't work either!  But the latest build it seems to be fixed (for now)

I think that XBMC is going downhill.  There are too many people involved and trying to make something that works on so many different platforms is adding to the confusion.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Automatic importing of XBMC items
« Reply #20 on: September 05, 2010, 01:38:12 PM »
AHA!  I think I've got it. ;D

I'll include support for this with my next release.  For now, you'll have to enter the names of your TVShows.  That should not be too hard.  The method I am using seems to work with the standard windows install of xbmc 9.11 found here:
http://sourceforge.net/projects/xbmc/files/XBMC%20for%20Windows/Camelot%20-%209.11/xbmc-9.11.exe/download

It may not work with other builds...

This should also work with Movies, Actors, Genre etc.  I am very excited!  It's always fun when you figure out how to make something work.  Thanks for pushing me to look at this again Wanilton.  :D

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Automatic importing of XBMC items
« Reply #21 on: September 05, 2010, 02:09:26 PM »
In this release  http://mirrors.xbmc.org/nightlies/win32/xbmc-r33324-Dharma_beta1.exe
Eu consigo usar o execbuiltin(ActivateWindow(VideoLibrary,TVShowTitles) e fuciona normalmente
« Last Edit: September 05, 2010, 02:13:51 PM by Wanilton »
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me