Git Product home page Git Product logo

tex's People

Contributors

alexispurslane avatar clementdelestre avatar weblate avatar zsbt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tex's Issues

"Files.PrepareDownload" error from Kodi causes missing movie/show

For certain elements of my library, Kodi responds with an error, response is like this:

{"error":{"code":-32602,"data":{"details":null},"message":"Invalid params."},"id":"preparedownload","jsonrpc":"2.0"}

I'm not sure yet why this error occurs, "invalid params" does not say too much so I will need to check that.

But in TeX, the error is ERROR TypeError: Cannot read properties of undefined (reading 'details'), it happens in getPreparedFileUrl:

map(rep => { return this.getBaseUrl() + rep.details.path})

Here rep instance is undefined. I guess in general, any error from Kodi should have some fallback logic in TeX, e.g. showing some placeholder image but the movie/show metadata should still be visible (right now there is just empty space in the list).

I will try to work on this issue in my own fork when I get some more time.

'All Music' display takes forever to populate

The 'All Music' view takes too long to populate and is basically unuseable. Scrolling down using the scrollbar just shows acres of blank screen. This needs to cache the retrieved data and not re-retrieve it every time, which looks like what it is currently doing.

V.1.3.0 on Kodi NEXUS.

Add Russian Language

{
"header" : {
"movies" : "Фильмы",
"tvshows" : "Сериалы",
"musics" : "Музыка",
"player" : "Плеер",
"remote" : "Управление",
"settings" : "Настройки",
"search" : {
"search" : "Поиск",
"searchIn" : "Поиск в:",
"filters" : "Фильтры:",
"year" : "Год",
"genre" : "Жанр"
}
},
"library" : {
"videoLibrary" : "Видео",
"audioLibrary" : "Аудио",
"continueToWatch" : "Просматриваемые",
"recentlyAdded" : "Последние добавленные",
"unwatched" : "Не просмотренные",
"movies" : "Фильмы",
"tvshows" : "Сериалы",
"musics" : "Музыка",

    "nothingToShow" : "Ничего не найдено",
    "changeFilterToFindSomething" : "Измените фильтр, чтобы что-то найти",
    "resetFilters" : "Сбросить",

    "sortBy" : {
        "sortBy" : "Сортировать по",
        "alphabetical" : "Алфавиту",
        "alphabeticalInversed" : "Алфавиту (обратно)",
        "random" : "Случайно",
        "duration" : "По продолжительности",
        "latest" : "Последний",
        "older" : "Старше",
        "track" : "Трек"
    },
    "page" : "Страница",
    
    "directors" : "Режиссер",
    "writers" : "Автор",
    "actors" : "Актер",
    "albums" : "Альбом",
    "artists" : "Исполнитель",
    "genres" : "Жанр",
    "years" : "Год",

    "recentlyPlayedAlbums" : "Последний проигранный альбом",
    "recentlyAddedAlbums" : "Последний добавленный альбом",
    "mostPlayedAlbums" : "Самый проигрываемый альбомы",

    "allMusics" : "Вся музыка",

    "filters" : "Фильтры",
    
    "details" : {
        "genres" : "Жанр:",
        "totalDiscs" : "Всего дисков:",
        "year" : "Год:",
        "studios" : "Студия:",
        "writers" : "Автор:",
        "directors" : "Режиссер:",         
        "disk" : "Диск",
        "born" : "Выход:",
        "mood" : "Настроение:",
        "formed" : "Сформирован:",
        "disbanded" : "Расформирован:",
        "episodes" : "Эпизодов:",
        "musicsBy" : "Музыка от",
        "playButton": "Воспроизвести",
        "playNext" : "Воспроизвести следующий",
        "rating" : "Рейтинг: {{ value }}%",
        "watched" : "Отметить не просмотренным",
        "unwatched" : "Отметить просмотренным",
        "size" : "Размер:",
        "file" : "Файл:",
        "dateadded" : "Дата добавления:",
        "download" : "Скачать",
        "moreinfo" : "Больше информации",
        "lessinfo" : "Меньше информации",
        "trailer" : "Трейлер",
        "casting" : "Актеры",
        "seasons" : "Сезонов",
        "seasonNumber" : "Сезон {{ value }}",
        "episodeCount" : "{{ value }} эпизодов",
        "episodesTitle" : "Эпизоды",
        "noSeasonAvailable" : "Нет доступных сезонов",
        "getStreamingLink" : "Копировать ссылку",
        "additionalInformation" : "Дополнительная информация",
        "refresh" : "Обновить",
        "streamVideo": "Видео:",
        "streamAudio" : "Аудио:",
        "streamSubtitle": "Субтитры:",    
        "edit": "Редактировать"
    },

    "edit" : {
        "title" : "Заголовок:",
        "plot" : "Описание:",
        "tagline" : "Тэги:",
        "studio" : "Студия:",
        "year": "Год:",
        "directors" : "Режиссер:",
        "writers" : "Автор:",
        "genres" : "Жанр:",
        "country" : "Страна:",
        "set" : "Установить:",
        "tags" : "Тэги:",
        "refresh" : "Обновить",
        "remove" : "Удалить",
        "save" : "Сохранить",
        "cancel": "Отмена",
        "confirm" : "Подтвердить"
    },

    "musicsView" : {
        "artist" : "Исполнитель:",
        "album" : "Альбом:",
        "track" : "Композиция:",
        "duration" : "Длительность:",
        "genre" : "Жанр:",
        "year" : "Год:",
        "listenIn" : "Слушать в:",
        "internalPlayer" : "Внутренний плеер",
        "search" : "Поиск",
        "playNext" : "Воспроизвести следующий",            
        "download" : "Скачать",
        "linkCopied" : "Копировать ссылку",
        "linkWasCopiedInClipBoard" : "Ссылка скопирована в буфер обмена"
    }
},
"player" : {
    "playlist" : "Плейлист",
    "noMedia" : "Ничего не воспроизводится",
    "languages" : "Язык:",
    "subtitles" : "Субтитры:",
    "disabled" : "Выключено"
},
"settings" : {
    "settings" : "Настройки",
    "general" : {
        "general" : "Основные",
        "language" : "Язык",
        "musicsDefaultPlayer" : "Аудиоплеер по умолчанию",
        "scanVideoLibrary" : "Сканировать библиотеку видео",
        "scanAudioLibrary" : "Сканировать библиотеку аудио",
        "cleanVideoLibrary" : "Очистить библиотеку видео",
        "cleanAudioLibrary" : "Очистить библиотеку аудио",
        "libraries" : "Библиотека",
        "application" : "Веб-интерфейс",
        "resetApp" : "Установить обновления",
        "vibrate" : "Вибрация",
        "vibrationOff" : "Вибрация выключена",
        "mayNotWorkDevice" : "Может не работать на некоторых устройствах",
        "translationIssues" : "В случае проблем перевода очистите кэш браузера",
        "refreshTranslation" : "Обновить перевод",
        "currentVersion" : "Текущая версия:",
        "checkUpdates" : "Проверить обновления"
    },
    "appearance" : {
        "appearance" : "Внешний вид"
    },
    "advanced" : {
        "advanced" : "Расширенные",
        "websocketAddr" : "Адрес",
        "websocketPort" : "Порт",
        "state" : "Статус",
        "connected" : "Подключено",
        "disconnected" : "Отключить",
        "connect" : "Подключить",
        "disconnect" : "Отключить",
        "save" : "Сохранить",
        "reset" : "Сбросить",
        "jsonapi" : "JSON API",
        "sendrequest" : "Отправить запрос"
    },
    "contribute" : {
        "contribute" : "Помощь проекту",
        "t1" : "Добавление новых функций в TeX и дальнейшее развитие занимает много времени.",
        "t2" : "Чтобы помочь сохранить мотивацию, вы можете финансово поддержать проект, сделав пожертвование!",
        "t3" : "У меня было бы больше мотивации добавлять функции, запрашиваемые сообществом, и устранять существующие проблемы.",
        "makeGift" : "Сделать пожертвование"
    }
},
"unknown" : "Неизвестный",
"notification" : {
    "scanStarted" : "Запущено сканирование",
    "scanFinished" : "Сканирование завершено",
    "cleanStarted" : "Запущена очистка",
    "cleanFinished" : "Очистка завершена",
    "success" : "Успешно",
    "updatedTranslations" : "Перевод обновлен",
    "refreshPageToSee" : "Обновите страницу, чтобы увидеть изменения",
    "contentUpdated" : "Содержание обновлено",
    "error" : "Ошибка",
    "contentNotUpdated" : "Содержание не обновлено",
    "contentRemoved" : "Содержание удалено. Обновите страницу, чтобы увидеть изменения",
    "contentNotRemoved" : "Содержание не удалено",
    "appUpdated" : "Приложение успешно обновлено",
    "changelogsOnGithub" : "Историю изменений можно найти на GitHub"
},
"remote" : {
    "sendText" : "Отправить текст"
}

}

Web page stuck

There are 3000 movies in my Kodi. Every time I open the web page, it will get stuck for a long time and I can't slide the web page. It will return to normal in about 1 minute. When browsing movies, the web page will also get stuck. There is no such problem in version 1.0.0. Kodi version: 18.9, 19.3. Browser: chrome, mobile browser.

Radio Support

Hi,

I'm gonna start by saying, great interface! Amazing really!
I would like to use this page to play radio but without using the remote I can't, could this be added?

Thanks! 😄

Mediateque not working when port is not 8080

Hello,
When the port of the server is not 8080, the interface is empty. Error message in the web browser is the following :
+1:
Object { headers: {…}, status: 0, statusText: "Unknown Error", url: "http://192.168.1.168:8080/jsonrpc?request={\"jsonrpc\":\"2.0\",\"id\":\"gettvshows\",\"method\":\"VideoLibrary.GetTvShows\",\"params\":{\"properties\":[\"cast\",\"year\",\"genre\"]}}", ok: false, name: "HttpErrorResponse", message: "Http failure response for http://192.168.1.168:8080/jsonrpc?request={\"jsonrpc\":\"2.0\",\"id\":\"gettvshows\",\"method\":\"VideoLibrary.GetTvShows\",\"params\":{\"properties\":[\"cast\",\"year\",\"genre\"]}}: 0 Unknown Error", error: error

Clicking 'Play' button on an album page does not cause the album to play

Clicking the 'Play' button on an album page does not always cause the album to play. It does nothing. No audio, no response from the host KODI system.

For some albums, it does seem to work. In the case when it does not, no error message or status is generated so the user is in the dark as to why nothing is playing.

http port seems hardcoded to 8080

I have set my kodi port to 80and I TeX doesn't show any content with that. The console is full of 404 errors for ":8080/jsonrpc". When I set my Kodi web interface port to 8080, TeX works OK.
I'd like to suggest that TeX takes the connect port for the JSON RPC calls from the actual URL instead of always ging for 8080.

Can't scroll

For some reason I can't scroll within the interface after I show remote or now playing menu.

I think that there is overflow: hidden set before opening the menu but its not removed after.

Manually installing TeX from GitHub doesn't work

I want to make some bespoke modifications to the version of TeX I'm using, so I cloned this repo in my server's home directory, then set the build directory in angular.json to be ~/.kodi/addons/webinterface.tex, which is the folder where the version of TeX I originally installed via Kodi's interface lives, so hopefully I can just substitute the former for the latter, then ran ng build. It outputs the built files to Kodi to serve as its web interface just fine, and the file/directory structure inside ~/.kodi/addons/webinterface.tex looks correct. The problem is, even though (in theory, as far as I know) this should work perfectly fine, because the version of this interface that Kodi installs via the addon marketplace is exactly the same as the build output of this project, the web interface is broken when I do this.

Specifically, for some reason not all off the styles/layouts are applied to the interface, so although the actual HTML content is all there and buttons and such work fine, everything is broken or invisible. Here's a screenshot:

image

Do you have any tips for manually installing TeX? Thanks

Want to add the following features

First of all, thank you very much for developing such an easy-to-use and beautiful plug-in.This is the best Web Interface I've ever used.
But I found some problems in use.
I hope to add more sorting methods, such as year, score and so on.I am a Chinese user. Every word is separate. All Chinese can't be found as easily as letters.
If only I could display the actors, directors, styles and years on the top like music, because I have thousands of movies and sometimes I don't know what to watch, so I can find the movies I want to see faster.
When I click the play button to play a movie, I need to click the play control button in the middle first, and then switch to Kodi to control Kodi. I want me to directly control Kodi after clicking the button.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.