Jump to content

Search the Community

Showing results for tags 'feature request'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Deutsch
    • Ankündigungen & Neuigkeiten
    • Einsteigerfragen DVBViewer Pro/GE
    • Allgemeines DVBViewer Pro/GE
    • Vorschläge & Ideen
    • Fehlermeldungen DVBViewer Pro/GE
    • Plugins und AddOns
    • DVB Hardware (Digital TV Karten)
    • DVBViewer Recording Service 1.x
    • DVBViewer Media Server
    • Sat>IP Viewer & Co (Android,iOS,Mac)
    • Verschiedenes
    • DVBViewer Video Editor
  • English
    • News & Announcements
    • Newbies DVBViewer Pro/GE
    • General DVBViewer Pro/GE
    • Suggestions & Ideas
    • Bug Reports DVBViewer Pro/GE
    • Plugins and AddOns
    • DVB Hardware (Digital TV cards)
    • DVBViewer Recording Service 1.x
    • DVBViewer Media Server
    • Sat>IP Viewer & Co (Android,iOS,Mac)
    • Off-Topic
    • DVBViewer Video Editor
  • Miscellaneous
    • Scripting Lounge / API (de/en)
    • Area HTPC
    • HDTV / UHDTV (de/en)
    • DVB - The technique behind
    • Conversion & Encoding
    • OEM Edition - User Helping Users (de/en)
    • Forum / Wiki / Website (de/en)
  • Survey ● Umfragen
    • DVBViewer Pro Cleanup (en/de)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 2 results

  1. I try to write a javascript application to access the web api from Mediaserver (like Electron). Unlike other programming languages javascript restricts the requests to cross origin web services. Only if cross origin calls are allowed from the website they are done from the javascript engine.. The Webservice can allow this access by send a header entry like 'Access-Control-Allow-Origin', '*''. Today I get around with a small proxy server who adds this header to every requests - which is fine in development stage but not really fine for deployment. I havn't really understand what kind of Access Control is possible but I think for a local server like the DVB MediaServer to allow every access is ok because it is also possible with every other programming language. see also https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS I have attached my mini python server and a html page for testing. Please use firefox or chrome. The steps are : Install python3 if not already on your machine, edit pyproxy.py and dvbtest.html with the correct address of the media server (my media server is on 192.168.0.108) and start it with python pyproxy.py Afterwards you can open the html file dvbtest.html with firefox or chrome - Edge didn't work. I think I must provide for Edge something to the request to make a cross origin call. The html files a correct result from the pyproxy.py and no result from the original server. test.zip
  2. When I create a timer with http://192.168.0.108:8089/api/timeradd.html?enable=1&ch=2359890582721931325&title=MyTestTime&dor=42875&start=1150&stop=1205 all works fine but I get no response from the server. I think it will be fine to get an answer. A failure answer when something is wrong and maybe a timer record if all works fine. Because when I want to store this timer id where ever it is not easily possible. The only way I see at this moment is to create the timer with an UUID title, request a timer list after the creation call, remember the timer id and make a third call to change the title to something useful. And 1 call is better then 3 calls. And - not so important but helpful is to get api responses in json. Most of javascript and REST apis expecting the json format and somebody must convert it. And I prefer the server do it.
×
×
  • Create New...