Is it possible to add background music? (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Is there an developer API for that site by any chance? I had a 1min glance at the site and nothing jumped out at me.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Is there an developer API for that site by any chance? I had a 1min glance at the site and nothing jumped out at me.

    Sorry to sound a bit thick, but what is that?

    API = Application Programming Interface

    What it means is that otherwise MP-TVSeries needs to create a HTML scraper system to first go to the search.php page with a request, then await results, then interpret the HTML search results, then put in another request to obtain the actual the file. With an API system this is done at a higher level, not relying on HTML, but usually XML. A request is put in and all the information needed is given back in XML format.

    For example this is the API system from TheTVdB used by MP-TVSeries to lookup TV show 'Lost' = http://www.thetvdb.com/api/GetSeries.php?seriesname=Lost

    It is just a much nicer way for a programmer to get the right results, because the creator of the API system explains in the API documentation what they expect and what they will provide. Otherwise it can be a nightmare to accomodate all the different combinations.
     

    meesham

    MP Donator
  • Premium Supporter
  • February 15, 2009
    35
    2
    Christchurch
    Home Country
    New Zealand New Zealand
    I've just had a quick look at the XBMC script and the guy has written a scraper, there's no API - his code is here: http://xbmc.git.sourceforge.net/git...f=script.tvtunes/resources/tvtunes_scraper.py

    How it seems to work is he does a text search at http://www.televisiontunes.com/search.php?searWords=%s&Send=Search where %s is the name of the show, a list of results (just show names) is then presented to the user and they choose which show it matches. He then calls http://www.televisiontunes.com/download.php?f=%s where %s is the selected show name which returns an mp3 file. It doesn't make use of TVDB IDs or anything unique, it's just text name matching that requires user interaction/confirmation.
     

    vrm42

    Portal Pro
    April 24, 2007
    131
    28
    Home Country
    Hungary Hungary
    +1

    I would be satisfied with "theme.mp3" file to put in the series root folder.
     

    Users who are viewing this thread

    Similar threads

    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after restart. If you go to an episode and open the options and pick choose artwork then choose episode thumbnail it shows the correct thumbnail and says it is remote. Click on it and it goes local instantly and...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    Replies
    0
    Views
    301
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    40
    Views
    4K
    I need to try MadVR, I hope my Intel NAC can manage it.
    I need to try MadVR, I hope my Intel NAC can manage it.
    Remember PAL DVDs of US movies and TV Shows, and how they were converted to 25 fps thus introducing a "smurf lite" pitch on the...
    Replies
    2
    Views
    363
    • Sticky
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested [2024-03-03 18:26:58,262] [Log ] [MPMain ] [DEBUG] - Main: TV service found. Checking status... [2024-03-03 18:26:58,263] [Log ] [MPMain ] [INFO ] - Main: TV service is in status Running - proceeding...
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested...
    MediaPortal 1.33 Release Written by Team-MediaPortal. We have just released MediaPortal 1.33 - Springtime / 20th Anniversary...
    Replies
    7
    Views
    1K
    MP1 MP2 [solved] Basic audio question... DE
    Yes, works, thanks. Deselecting "Prefer multichannel audio streams" under "Video Player" (under "Players") gives me the stereo stream, by default, in television also. Thanks for your help. N.
    Yes, works, thanks. Deselecting "Prefer multichannel audio streams" under "Video Player" (under "Players") gives me the stereo...
    Is there a way to set the default audio stream for live TV? The default default, so to speak, for me seems to be English...
    Replies
    4
    Views
    708
    Top Bottom