• Login:

Welcome to the XBMC HUB FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

UPDATE YOUR SPORTSDEVIL ADDON!

Page 1 of 6 123 ... LastLast
Results 1 to 10 of 57
  1. #1
    Member
    Join Date
    Sep 2012
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [REQUEST] CouchPotato add-on

    Posted on xbmc forum http://forum.xbmc.org/showthread.php?tid=139995
    Quote Originally Posted by tikkiew
    Could someone make an add-on for CouchPotato? Similar like the jdownloader addon . Which make it possible to see the status and other add-on can use it to add a movie on CouchPotato? CouchPotato v2 got an api for this.
    I got no reply on xbmc forum, so I post it also here. If you use CouchPotato v2 . You can view the API docs via an browser, like so; http://<couchpotato IP>:<port>/docs . I really appreciate, if anyone want to make it.

  2. #2
    Retired Team XBMCHUB.COM Moderator
    Join Date
    Feb 2012
    Location
    Somewhere In This Crazy World
    Posts
    8,934
    Thanks
    0
    Thanked 19 Times in 14 Posts
    would love to see this too... or better info on jDownloader at least... wonder if anyone has it working or better yet has any downlaod program working IN XBMC

  3. #3
    Member
    Join Date
    Aug 2012
    Location
    sweden
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this is tempting, it's got an api and everything. what exactly do you want the addon to do?
    I've just had a brief look at couchpotato, and I suppose it'll need a movie search first.
    then being able to add movie search results to couch potato, then list movies in couchpotato and play them
    sex, code and rock'n'roll!

  4. #4
    Member
    Join Date
    Aug 2012
    Location
    sweden
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what do I do with these .nzb files I end up getting in API's "movie.get"
    sex, code and rock'n'roll!

  5. #5
    Member
    Join Date
    Sep 2012
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for looking into it.

    It's a little late. I may make mistakes. But I will look tomorrow if I am correct and didn't forget something.
    I don't think you will be needing "movie.get" . And you don't have to do anything with nzb files. This is done by CouchPotato. You only need to make possible to communicate with the api. To handle nzb files on CouchPotato. Go to Settings > Downloaders. And use of those options to handle the .nzb file.

    Quote Originally Posted by Jools View Post
    then being able to add movie search results to couch potato, then list movies in couchpotato and play them
    And I am not sure if it possible to play them. I don't know if the api shows this. Right now I use the xbmc library to play them.
    Also besides adding a movie to CouchPotato, I would also request an option to play the trailer.

    1. add-on settings menu need option as Server , Port .. to communicate with CouchPotato.
    Use "getkey/?p=md5(password)&u=md5(username)"
    video addon - the trailers - got this option. So you can look into that add-on, if you didn't already done this.

    2. I want a basic search to find and add movies to CouchPotato
    Use "movie.search" and "movie.add"
    For "movie.add" I would use the IMDB id . So it will look this for movie Men in Black II " /movie.add/?identifier=tt0120912 "


    3. I want to view playlist of my movies from Wanted and Manage
    Use "movie.list"
    You can get from this api call a movie(s) : genre, plot, actor , writer , images and more. So it will look as neat as adding a movie on xbmc library.

    4. I want also an option to view the trailers of movies on search list , wanted and manage.
    CouchPotato use youtube Like this - Example - "Men in Black II" 2002 trailer
    http://gdata.youtube.com/feeds/video..._map.request_0
    But you could also use imdb trailer . Since this imdb id is also listed on that api call.

    Edit : OK I edit it today.
    Last edited by tikkiew; 09-15-2012 at 09:34 AM. Reason: Edit

  6. #6
    Member
    Join Date
    Aug 2012
    Location
    sweden
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    movie.list requires parameter "status". what status do I use for "wanted" and "manage" respectively
    sex, code and rock'n'roll!

  7. #7
    Member
    Join Date
    Aug 2012
    Location
    sweden
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    also, where do I find the link to the trailers?
    sex, code and rock'n'roll!

  8. #8
    Member
    Join Date
    Sep 2012
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    "movie.list/?status=done" is manage
    "movie.list/?status=active" is wanted

    TRAILER
    Not sure if I understand your question. Perhaps this is to much details. There are a couple ways to get the trailer. It seems to me this is not added on the api. CouchPotato use youtube api first search result for trailers. But you could also instead add the first IMDB trailer. Since this would be of course more accurate. If you ask me, I would prefer IMDB.

    Youtube
    In my previously I added the youtube URL which CouchPotato use to get trailers. The URL is kind of unnecessary complicated. I would think this is more understanding.
    Webpage - search for : "Men in Black II" 2002 trailer
    http://www.youtube.com/results?searc...2+2002+trailer
    json feed
    http://gdata.youtube.com/feeds/video...lts=1&alt=json
    trailer video you want to use > http://www.youtube.com/watch?v=p4NJH...=youtube_gdata
    Or rss feed
    http://gdata.youtube.com/feeds/video...ults=1&alt=rss
    trailer video you want to use > http://www.youtube.com/watch?v=p4NJH...=youtube_gdata

    IMDB
    http://www.imdb.com/title/tt0120912/
    There is a watch Trailer option. Perhaps you can make a way to play this video?
    Last edited by tikkiew; 09-15-2012 at 02:46 PM.

  9. #9
    Member
    Join Date
    Aug 2012
    Location
    sweden
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tikkiew View Post
    "movie.list/?status=done" is manage
    "movie.list/?status=active" is wanted
    that's what i thought
    this is pretty easy to do, actually. the difficulty is to know how it's presented to the user, but your information
    is very helpful. i think i got the basic functionality down, but I've learnt from past mistakes not to announce
    anything too soon, before it's properly tested so hang on a while longer.

    as for the trailer links. i'd prefer imdb too rahter than a youtube search. I havn't been able to scrape the stream url
    yet though, so I'm asking everybody for assistance on this one.
    sex, code and rock'n'roll!

  10. #10
    Member
    Join Date
    Aug 2012
    Location
    sweden
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Jools View Post
    that's what i thought
    as for the trailer links. i'd prefer imdb too rahter than a youtube search. I havn't been able to scrape the stream url
    yet though, so I'm asking everybody for assistance on this one.
    figured this out. "http://m.imdb.com/title/" + imdb id gives a very scrapeable page
    sex, code and rock'n'roll!

 

 
Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •