Comments (6)
Hi yes I understand.
It is because at some point I thought it would be nice to sort the channels by name.
I have added some options to allow sorting by genre, channel number, name or none at all (and they stack).
The order in the edit page (or the config file) has no impact on how the channels are sorted.
If no custom parameters are applied then it just uses the server provided value. This is why it is not in the config.
There are some other things I need to finish up before I will update the repo and docker image. I think it will solve your issue.
from stb-proxy.
Awesome, works perfect.
Thank you very much.
from stb-proxy.
The channels are already added in the order they appear in the list given by the getAllChannels
response.
Adding ordering options should be doable but I dont understand what ordering it is you want.
By channel number? By genre?
EDIT: Sorry I do sort by name... I forgot.
I can still add options to sort by other params though.
from stb-proxy.
Thanks for quick response,
I didn't mean sorting options as a new feature.
The issue I'm facing is that channels do not appear in the same order as they are in the source list.
So here's my workflow:
- filter by GroupName
- show
all
items for that group - toggle select for that entire group
I was hoping this would effectively enable entire group to show without making any changes to the source group.
However when I'm looking at the playlist, I'm getting something like this:
- tvg-chno="8329"
- tvg-chno="8337"
- tvg-chno="8327"
- tvg-chno="8328"
Or if I'm looking at the rendered URL's that looks something like this:
- http://<my.local.ip>/play/<list.hash>/6709
- http://<my.local.ip>/play/<list.hash>/9008
- http://<my.local.ip>/play/<list.hash>/165752
- http://<my.local.ip>/play/<list.hash>/205693
- http://<my.local.ip>/play/<list.hash>/9015
So neither tvg-chno
nor ID's
in URL appears in order.
However, when I'm looking at http://<my.local.ip>/editor
page and sort items by Number
in interface, that does result with channels ordered same way as they appear in the original list, but it doesn't affect rendered list in any way.
My conclusion would be that some reordering does happen behind the scene which changes channel order from the source and I can't see the benefit of it.
ps. when I sort channels by Number
in web interface, first enabled channel in that list has number 8418
but when I search for that number within config.json
under enabled channels
I'm not getting any results there.
On the other hand when I look for it in rendered list I do find this:
#EXTINF:-1 tvg-id="<list.hash>" tvg-chno="8418" group-title="<group.title>",<channel.name>
http://<my.local.ip>/play/<list.hash>/131204
Now, this 131204
from url, that I can find within config.json
.
In other words, I believe that rendering list ordered by tvg-chno="8418"
attribute would result with channel order same as the source list. I believe that at this point sorting is done by channel name instead.
from stb-proxy.
Great, glad I managed to explain it :D
I do agree some people might find sorting by name to be useful (to be honest I thought of it myself at some point), but that can become messy with bigger lists/groups.
With that being said, I would prefer sorting to be removed or at least turned into an optional feature.
As for default setup, I believe the order should be same as the source list.
For the time being, I will go with manual ordering within TiviMate to achieve what I want.
Again, great work with this project and I'll make sure to keep an eye on the future updates
from stb-proxy.
Just updated.
If you are using Docker make sure you are not using the stable
tag because I deleted it.
from stb-proxy.
Related Issues (20)
- Can the proxy run on a Raspberry Pi and/or on a decoder? HOT 2
- Is there a way to select all the channels in one shot? HOT 2
- Check directories instead of single channels and autofallback based on channel name? HOT 2
- MAC lock in feature HOT 3
- Why there is a considerable delay for any stream to start compared to using STB portal directly HOT 12
- [Feature Request] Add Adult channels + some reverse and debugging on stalker portal code. HOT 5
- [Feature Request OR Bug maybe?] Allow multiples occupations on mac. HOT 4
- Reduce CPU usage of Stream HOT 2
- M3U playlist instead of MAC HOT 3
- http://comag.rip:8000/c/
- Playlist editor lags out on very large playlist HOT 14
- Http proxy With auth support HOT 3
- HD Homerun for Plex HOT 2
- EPG not in xlmtv HOT 1
- Format or MIME Type not found HOT 5
- add "on and off" toggle for each portal HOT 1
- feature idea HOT 1
- filter channel by genre id and avoid update all playlist. HOT 4
- None of the accounts tested OK
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stb-proxy.