offioct edison catheau

0 views
Skip to first unread message

Fatima Teem

unread,
Aug 2, 2024, 8:58:19 AM8/2/24
to seigearssacli

To authenticate the app you need to get a refreshtoken from the XBox live ID service.
You need to use a private/incognito browser mode and go to the URL:
_authorize.srf?client_id=0000000048093EE3&redirect_uri= _desktop.srf&response_type=token&display=touch&scope=service::user.auth.xboxlive.com::MBI_SSL&locale=en
After login the browser shows an white page. Its the URL you are interested in, in that URL the refreshtoken is available. Copy that token and open the app settings, paste the token in and press save.
Now the apps should show nice artwork.
The homey oauth2 flow is not working in this case since we do not have a proper app registration available, so I need to find a workaround to retrieve the URL from the settings page, but did not find any so far

Perhaps it would be helpful to do a comparison in output from the C# code and your JavaScript code? That would mean you initialize with the same IV and such, then compare the final message to something you know to be correct. At least you might be able to narrow down the area of the code in which the problem may lie.

I also have been thinking about comparing from a working implementation, but in the encryption part it quickly turns into the scramble using some process unique random keys so they would be incomparable, as designed

And you are right, I am also not yet clear what I want to do with it though, but a fun challenge non the less I was thinking on a netflix light scene and a Plex light scene and a game scene. Stuff like that would be cool. But for me it just was troubling that most of my devices are now connected and managed by Homey and the king of the lot, my console collection, is ignored.

Tried to get the python working by installing a ubunto distro on my windows 10 device. Figured out how to update pyhton and pip and installed the xbox-smartglass-core module. Than figured out how to execute the tui. It made me authenticate first and presented me an empty screen (while my console was powered on) pressing the refresh kills the tui with an binding error on the udp listener.

Not sure what you mean with saving it. It used and than new ones are retrieved behind the scenes.
If you followed the instructions and used the authorize link succesfully you ended up in a blank screen with a URL that holds the token. Taking that token and storing putting it in the box should authorize the app.
The app is still beta so I do not clearly show that the app is authorized. Just test it out buy starting for example the Netflix app on your console. If the console device in homey is showing the netflix artwork than it was authorized properly. After that there is no need to ever reauthorize.
For the basic Xbox companion behaviour you do not need to do this step. Its only required to get the pretty running app info.

Small update to test with Nexus button fixed and updated to the new openxbox core package. It had a exception on protocol level cause the app the crash once in a while. They fixed that now, so hoping for some stability improvements here.

A new test version has been published to update it to SDK3.
It seems to have troubles with the Xbox series when it comes to the fancy features (showing the active app or button controls for example)

Hi guys. I am proud to release first version of my app for streaming movies and tv shows on Original Xbox. How this started, how this works and all informations you can find on attached file in this post or there Stream Movies & TV Shows. In attached file you also have in-detail tutorial how to setup everything. Currently you have basic funcionalities, but I have a plan throughout a year to implement much more but I don't make any promises. There are three main tasks that I have to do before anything else, and that would be:

Some guys on Facebook group had problem playing certain movies. Problem is the way how file is downloaded. Some videos are downloading from begin to start and that videos don't have problem. But some videos are downloaded in wrong order (first middle, then end, after that begging) and for that videos you need to wait to download fully complete and only after that you can play it. Qucik workaround is to use YTS releases or WEBRip releases from streaming sites like Netflix, HBO, Amazon prime etc. With this file in 80% situations you won't have problem.

For TV Shows there is no problem like with movies, because almost all series came from some streaming services. But problem with TV Shows is that my algorithm for search look only for query in format "TV_SHOW_NAME SxyExy" (i.e. The Witcher S02E03). For newer series thats not problem, but for older series is problem because most older series came in one package which contains all episodes from one season and my algorithm does not find that torrents. And if it finds torrent in given query format it will return no results or will return some torrents with low number of seeders. Currently there is no workaround, wait for me to implement new search logic for TV Shows which will look for season package and extract from it particular episode.

I described everything in attached pdf of first post, please read it. Xbox app is script for XBMC4Xbox which uses TMDB API to fetch and show data. When you want to watch something that's where PC app kicks in. It's offers torrent search engine similar to one that is used for Elementum addon (i.e. PopCorn uses only YTS.MX, but Elemenutm use couple of providers which offers high quality videos), torrent streaming server engine (similar to WebTorrent, but I use torrent-stream which peerflix uses) and ffmpeg which convet from H.264/H.265 to 720p/H.263 which stock Xbox is capable of playing.

I'll try to explain on PopCorn Time app. PopCorn Time have to important parts: frontend and backend. Frontend is what you see when use app. When you click on Watch button, that is backend. So knowing that, you could look this app like this. Xbox app (script for XBMC4Xbox) is frontend, and PC app (PC API) is backend.

I could make all of this to work on Xbox but main problem is that 99% of video torrents uses H.264/H.265 which stock Xbox can't handle. That's the reason why PC API is necessearly, to convert to format that Xbox can play with acceptable video quality.

But I don't think the ffmpeg transcoding is working for me. I followed your pdf guide and have installed the latest portable windows .zip on 3 different computers. I can browse using the script on xbox perfectly and it starts downloading, just never plays the final url with movies or tv shows. I have tried playing from the script and play to xbox function. Both try to play but gets no playable file from the url. If I try the URL in VLC player without "?ffmpeg=remux" at the end it will play the original downloaded file perfectly.

Can you tell me which movie did you try? Honesly, I didnt try on Windows. My main OS is Linux. I will try on Windows and see if there are some libs that needs to be installed separately. Node.js isn't required if streams are working on VLC and PC app is starting. From log of XBMC I would say that there are some problems with FFmpeg.

Yes, there is problem with Windows. For some reason it's not using ffmpeg.dll that came with build. I tried installing FFmpeg manually, but after that I get same error as described here Error: spawn UNKNOWN. No wonder that some people call windows "Windblows" or "Shitblows" On linux you need to have installed ffmpeg but most Linux distributions came preinstalled with it and on macOS you can use brew to install it. If someone can try on Windows 7/8 with ffmpeg installed and give results it could be useful. Nex two weeks I'm busy with mu studies, but after that I will investigate more on this and fix this error on Windows.

You can follow tutorial on link above to install ffmpeg on your Windows. It works on Win7 and Win8. Problem is only with Win10 which I don't know why. I will try to investigate it and fix it, and also I will try to add ffmpeg so user need to manually install ffmpeg.

Hi guys. New updates. I posted video on YouTube to be a proof that this isn't a fake. I have also implemented new Script for searching Subtitles but it's on develpoment branch and currently not ready for use. You can expect new update around middle of april.

This is pretty amazing! I have a 128mb xbox and I'll try and set this up on a raspberry pi I use as a wifi-ethernet bridge this weekend! All I need now is a working youtube app and it can replace my roku.

90f70e40cf
Reply all
Reply to author
Forward
0 new messages