Skip to content

Commit

Permalink
Merge pull request #96 from fyfe/feature/fixes
Browse files Browse the repository at this point in the history
Add header icon that was missed in a7f7ee5
Rename field that was missed from 0ebbce8
Allow ignore article sort with genres and sets
Remove the wiki from the main repository
Fix padding on season and episode list when there's a scrollbar
  • Loading branch information
uNiversaI committed Jul 9, 2014
2 parents ff1b819 + becb765 commit 2d9bdb5
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 14 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="webinterface.XWMM"
version="4.1.5"
version="4.1.6"
name="XWMM"
provider-name="slash | Zernable | MokuJinJin | nwtn | fyfe | criticalfiction">
<requires>
Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
XWMM Change log

4.1.6
- Add header icon that was missed in a7f7ee5
- Rename field that was missed from 0ebbce8
- Allow ignore article sort with genres and sets
- Fix padding on season and episode list when there's a scrollbar

4.1.5
- Don't freak out when XBMC returns no results
- Rewrite movie set management feature (Issue #88)
Expand Down
1 change: 0 additions & 1 deletion docs
Submodule docs deleted from 0b4592
10 changes: 8 additions & 2 deletions resources/js/app/common/genre.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,21 @@ Ext.ns('XWMM.video');
{ name: 'label', type: 'string' }
]);

var sortArticles = docCookies.getItem('sortArticles') === '1';

XWMM.video.genreStore = new Ext.data.Store({
sortInfo: { field: 'label', direction: 'ASC' },
proxy: new Ext.data.XBMCProxy({
url: '/jsonrpc',
xbmcParams: {
jsonrpc: '2.0',
method: 'VideoLibrary.GetGenres',
params: {
type: 'movie'
type: 'movie',
sort: {
order: 'ascending',
ignorearticle: sortArticles,
method: 'label'
}
},
id: 'XWMM'
}
Expand Down
2 changes: 1 addition & 1 deletion resources/js/app/common/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* along with XWMM. If not, see <http://www.gnu.org/licenses/>.
*/

var myVersion = '4.1.5';
var myVersion = '4.1.6';

/**
* Protect window.console method calls, e.g. console is not defined on IE
Expand Down
2 changes: 1 addition & 1 deletion resources/js/app/movies/movie.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var otherDetailsPanel = new Ext.FormPanel({
items: [
{
fieldLabel: 'Name',
name: 'strFilename',
name: 'file',
readOnly: true
},
{
Expand Down
10 changes: 9 additions & 1 deletion resources/js/app/movies/movieset.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,21 @@ Ext.ns('XWMM.video');
{ name: 'label' }
]);

var sortArticles = docCookies.getItem('sortArticles') === '1';

XWMM.video.movieSetStore = new Ext.data.Store({
sortInfo: { field: 'label', direction: 'ASC' },
proxy: new Ext.data.XBMCProxy({
url: '/jsonrpc',
xbmcParams: {
jsonrpc: '2.0',
method: 'VideoLibrary.GetMovieSets',
params: {
sort: {
order: 'ascending',
ignorearticle: sortArticles,
method: 'label'
}
},
id: 'XWMM'
}
}),
Expand Down
6 changes: 2 additions & 4 deletions resources/js/app/tvshows/tvshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ var seasonGrid = new Ext.grid.GridPanel({
stripeRows: true,

viewConfig: {
scrollOffset: 1,
headersDisabled: true
},

Expand All @@ -415,15 +414,14 @@ var episodeGrid = new Ext.grid.GridPanel({
cm: new Ext.grid.ColumnModel([
{ header: '#', dataIndex: 'episode', width: 30 },
{ header: 'Title', dataIndex: 'title', id: 'title' },
{ header: '&#160;', dataIndex: 'playcount', width: 30, tooltip: 'Watched',
renderer: checkWatched }
{ header: '<img src="../resources/images/icons/checked.png" width="16" height="16" alt="Watched">',
dataIndex: 'playcount', width: 30, tooltip: 'Watched', renderer: checkWatched }
]),
autoExpandColumn: 'title',
enableColumnResize: false,
stripeRows: true,

viewConfig: {
scrollOffset: 1,
headersDisabled: true
},

Expand Down

0 comments on commit 2d9bdb5

Please sign in to comment.