Skip to content
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

Added RightSidebar Kodi icon and hover effect on progress slider #79

Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3fc31e9
Changed RightSidebar Kodi icon and added hover effect on progress slider
developingright Apr 2, 2022
8fd7d4e
update to parcel 2.0
aionkov Apr 3, 2022
f382788
added addon.xml and icon.png and tested installing from zip
aionkov Apr 3, 2022
83ed2a0
Update readme and gitignore
razzeee Apr 3, 2022
64980fe
Use pipeline to bundle
razzeee Apr 3, 2022
7e9e63d
Merge pull request #81 from xbmc/addon
razzeee Apr 3, 2022
c9e0971
Bump ansi-regex from 4.1.0 to 4.1.1
dependabot[bot] Apr 3, 2022
54f3889
update demo gif path in readme
ionif Apr 4, 2022
2611f9b
Merge pull request #82 from xbmc/dependabot/npm_and_yarn/ansi-regex-4…
razzeee Apr 15, 2022
b5a1e50
changes regarding usage of local image
developingright Apr 21, 2022
367d8ff
fixed variable names and inlined the function
Kunal-8789 Apr 20, 2022
ae41ce7
changed few variable names.
Kunal-8789 Apr 22, 2022
f9f79e3
Merge pull request #84 from Kunal-8789/work_on_videos_page
razzeee Apr 25, 2022
3e41059
Used local image for rightsidebar and installed parcel-static-file pa…
developingright Apr 25, 2022
2830291
updated package.json and used parcel2 version of static-files-copy pa…
developingright Apr 27, 2022
a620d0e
Changed RightSidebar Kodi icon and added hover effect on progress slider
developingright Apr 2, 2022
a3999e6
changes regarding usage of local image
developingright Apr 21, 2022
e94d190
Used local image for rightsidebar and installed parcel-static-file pa…
developingright Apr 25, 2022
556fc31
updated package.json and used parcel2 version of static-files-copy pa…
developingright Apr 27, 2022
2cd1a30
updated transfomer-elm version
developingright May 1, 2022
231d790
fixed conflicts
developingright May 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/bundle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "release"
on: [push, pull_request]

jobs:
build-and-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jorelali/setup-elm@v2
with:
elm-version: 0.19.1
- run: node -v
- run: npm install
- run: npm run-script build

- uses: actions/upload-artifact@v3
with:
name: elm-chorus
path: dist*
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -5,4 +5,5 @@ public/dist
.idea
dist
.cache

.elm-spa
.parcel-cache
4 changes: 4 additions & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["@parcel/config-default"],
"reporters": ["...", "parcel-reporter-static-files-copy"]
}
63 changes: 35 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,53 @@
# elm-chorus

![demo](https://github.com/ionif/elm-chorus/blob/master/demo.gif)
![demo](https://github.com/xbmc/elm-chorus/blob/main/demo.gif)

a web interface for Kodi written in Elm for GSoC 2020\
based on chorus2 by jez500

# Code layout

Inside the `src` directory you'll find:

> `src`
>> `Colors.elm` - palette for user interface \
>> `Components` - all ui elements
>>> * DialogBox
>>> * Frame
>>> * Header
>>> * LeftSidebar
>>> * RightSidebar
>>> * PlayerRow
>>> * VerticalNav
>>> * Video
>> `Helper.elm` \
>> `Main.elm` \
>> `Method.elm` \
>> `Pages` - holds all elm-spa pages \
>> `Request.elm` - partial wrapper, unused for now because it's incomplete \
>> `Shared.elm` - Shared model, this is where all the action handling happens \
>> `Spa` - holds all elm-spa generated stuff \
>> `WSDecoder.elm` - all decoders and custom types
>
> > `Colors.elm` - palette for user interface \
> > `Components` - all ui elements
> >
> > > - DialogBox
> > > - Frame
> > > - Header
> > > - LeftSidebar
> > > - RightSidebar
> > > - PlayerRow
> > > - VerticalNav
> > > - Video
> > `Helper.elm` \
> > `Main.elm` \
> > `Method.elm` \
> > `Pages` - holds all elm-spa pages \
> > `Request.elm` - partial wrapper, unused for now because it's incomplete \
> > `Shared.elm` - Shared model, this is where all the action handling happens \
> > `Spa` - holds all elm-spa generated stuff \
> > `WSDecoder.elm` - all decoders and custom types
# Developing elm chorus

To develop elm-chorus, you must have the following:

### For MacOS, Windows, Linux
* Kodi application
* Chrome/Chromium, Firefox
* Elm
* NPM

To run it:
1. start Kodi
- Kodi application
- Chrome/Chromium, Firefox
- Elm
- NPM

To run it:

1. start Kodi
2. `git clone https://github.com/xbmc/elm-chorus.git`
3. `cd elm-chorus/`
4. `npm start`
4. `npm start`

and point your browser to localhost:8000 by default or whatever port Node tells you
and point your browser to http://localhost:1234 by default or whatever port Node tells you
21 changes: 21 additions & 0 deletions dist/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="webinterface.elm"
version="1.0.0"
name="Elm-Chorus web interface"
provider-name="ionif, razzeee, priyanshu">
<requires>
<import addon="xbmc.json" version="6.0.0" />
</requires>
<extension point="xbmc.webinterface"/>
<extension point="xbmc.addon.metadata">
<summary lang="en">Default web interface</summary>
<description lang="en">Browse and interact with your Music, Movies, TV Shows and more on a web browser. Stream music and videos to your browser. Edit and manage your Kodi media library.</description>
<platform>all</platform>
<language>en</language>
<source>https://github.com/xbmc/elm-chorus</source>
<assets>
<icon>icon.png</icon>
</assets>
</extension>
</addon>
Binary file added dist/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading