-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove premiere stuff and fix crashes caused by earlier removals #8
Remove premiere stuff and fix crashes caused by earlier removals #8
Conversation
cc @JustAMan |
The last change here inadvertently broke the android client so I will be checking up again after this one to see what happens. Turns out there was some weird stuff going on in |
Co-Authored-By: cvium <[email protected]>
@JustAMan I haven't really bothered cleaning up the plugincatalogpage since I don't know if we're gonna keep it. Regarding the livetv indexes, I dunno. It seems it's throughout the dashboard ui that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good if you can address my remaining comments from previous review, too.
I'm going to drop questions on indices for now.
@JustAMan which ones? I couldn't find any. Maybe because I already force pushed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've copied my yet un-addressed comments to this separate review, closing them in previous one.
src/scripts/dashboardpage.js
Outdated
if (session.TranscodingInfo && session.TranscodingInfo.TranscodeReasons && session.TranscodingInfo.TranscodeReasons.length) { | ||
text.push("<br/>"); | ||
text.push(globalize.translate("sharedcomponents#LabelReasonForTranscoding")); | ||
showTranscodeReasons = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just insert the forEach
loop from below here instead of a flag?..
src/scripts/dashboardpage.js
Outdated
} | ||
|
||
if (showTranscodeReasons) { | ||
session.TranscodingInfo.TranscodeReasons.forEach(function (t__e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t__e
seems a remaining stuff from de-ulglification
src/scripts/plugincatalogpage.js
Outdated
} | ||
|
||
function populateList(options) { | ||
populateListInternal(options) | ||
populateListInternal(options); | ||
} | ||
|
||
function getHeaderText(category) { | ||
category.replace(" ", "").replace(" ", ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wtf does this double replace
mean, isn't one enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a no-op essentially. String.replace() returns a new string 🤷♂️
@JustAMan Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing stuff!
This is the frontend part of jellyfin/jellyfin#412
Fixes jellyfin/jellyfin#122