Jump to content

Recommended Posts

DimitarCC
Posted (edited)

Hello!

So i have started a project for making an Emby client app that can run on Enigma2/Linux based STBs. Its written in pure python.

Those STBs are mainly made for DVB perception, but also is possible to play media on them.

Mainly they support by hardware H264 and H265 codecs. All the rest (except the newest high efficient codecs) plays fine by software.

I am in the beginning of the project. Try to comply with the new Emby clients UI design guidelines and expectations, but also put my own twist to some places.

Currently the only ready screen is the home....

Here is a preview...

 

home.thumb.jpg.77465f2bfe831cf8e26afd231410ddd5.jpg

Edited by DimitarCC
  • Like 4
  • Thanks 1
  • 2 weeks later...
DimitarCC
Posted

So a question here....Maybe @Luke@softworkz

 

With emby rest API how can i take all BoxSets that particular item belongs to (if any)?

I dont see an endpoint for that. And parsing all boxsets and all childs for each of them is very slow and results of hundreds of requests (i have 200 boxsets).

Thanks in advance for the help.

Posted
16 hours ago, DimitarCC said:

So a question here....Maybe @Luke@softworkz

 

With emby rest API how can i take all BoxSets that particular item belongs to (if any)?

I dont see an endpoint for that. And parsing all boxsets and all childs for each of them is very slow and results of hundreds of requests (i have 200 boxsets).

Thanks in advance for the help.

You can query items using IncludeItemTypes=BoxSet

DimitarCC
Posted
8 hours ago, Luke said:

You can query items using IncludeItemTypes=BoxSet

Not useful...That will give me the boxset list but how i will know the item with Id=25543 for example in which boxsets belong to?

There is no endpoint that can return all boxsets that item belong to. Or at least i cant find.

The only way is to get all boxsets and then for each of the boxsets get childs which is very slow and as i said hundred of requests in my case.

DimitarCC
Posted

Well i figured it out....But is not documented anywhere that this is possible in this way.......

I had to debug your web client so to get th right parameters...

Posted
2 hours ago, DimitarCC said:

Well i figured it out....But is not documented anywhere that this is possible in this way.......

I had to debug your web client so to get th right parameters...

What was the solution?

DimitarCC
Posted
3 minutes ago, Luke said:

What was the solution?

 

i use that api endpoint with that parameters

"{server_root}/emby/Users/{user_id}/Items?IncludeItemTypes=Playlist%2CBoxSet&Recursive=true&SortBy=SortName&ListItemIds={item_id}&Limit={limit}

Important is 

IncludeItemTypes=Playlist%2CBoxSet

and

ListItemIds={item_id}

 

That gives all boxsets that item belongs to.

But  ListItemIds parameter is not mentioned anywhere (or at least i cant find it).

Also IncludeItemTypes=Playlist%2CBoxSet is not known that there can be that Playlist%2CBoxSet.

 

But anyway now is working...

  • Thanks 1
  • 4 weeks later...
Posted

So after hours of developing the first nearly complete version is ready (only player have to work on).

Home

home.thumb.jpg.826e5989d7bf752e19a040aea177665f.jpg

Library recommendations

lib_recomm.thumb.jpg.1b7142f6a0698fd8443fc98c1ce1178f.jpg

Single movie screen

movie_1.thumb.jpg.2b260c2910d3dbe7b54aa3e0ce7d169d.jpgmovie_2.thumb.jpg.1e1a7a02ec537f596d331b3f7c5597de.jpgmovie_3.thumb.jpg.3d68a9520a085a57e9507c00f833bae0.jpgmovie_5.thumb.jpg.1e86b2fd8a0027a718ec81b6883b695a.jpg

TvShow list (movie too)

tvshowlist.thumb.jpg.aeb756a727568111d8298b9dcea46bde.jpg

Single Tv Show screen

tvshow_1.thumb.jpg.4794290c5b17461ca0f367a80f8e5326.jpg

  • Like 1
  • 1 month later...
Posted

It is already present in some Enigma2 distros. But it works only on Enigma2 ;)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...