2011-05-09, 02:20
I love this interface. I would like to add some feature request. Some of them I already implemented so i would like to share them with other people.
1. Modify default view for movies :
2. View movie info by clicing on name of movie or image not only intormation button
3. Closing movie information view by clicking on transparent parts
4. Feature request when you have movie information it would be awesome to have next and previous buttons. This was not really easy for me to implement it.
5. I would like to change design to use less space. For Play and enque use some icons(i use P and Eq text shourtcut) and for information delete button and use click anywhere on image or movie name like on screenshoot.
1. Modify default view for movies :
Code:
in addons\webinterface.awx\js\awx.js
step4 : function() {
awxUI.init();
init.step5();
[b]ADD TIHS LINE mkf.pages.showPage(awxUI.moviesPage);[/b]
}
2. View movie info by clicing on name of movie or image not only intormation button
Code:
in addons\webinterface.awx\js\awx.js from line aprox 664
var $movie = $(
'<div class="movie'+movie.movieid+' thumbWrapper thumb' + xbmc.getMovieThumbType() + 'Wrapper">' [b]+
'<div class="infoMaty">'+[/b]
'<div class="linkWrapper NoBlock">' +
'<a href="" class="play">
[b]Appropriate closing tag </div> to div infoMaty[/b]
[b]AND ADDING ACTION FOR SHOWING INFO LINE aprox 682 $movie.find('.infoMaty').bind('click', {'movie': movie}, nMovieInformationClick);[/b]
3. Closing movie information view by clicking on transparent parts
Code:
in \webinterface.awx\js\jquery.awx.js LINE 704
$('body').append(
[b]'<div id="mkfDialogMaty' + dialogHandle +
'" class="mkfOverlayMaty">' +
'<div class="myclose">' +[/b]
'<div id="mkfDialog' + dialogHandle +
'" class="mkfOverlay">' +
.................
[b]AT AND APROPRIATE ENDING '</div></div>[/b]</div>'
.................
[b]ADDING FUNCTION:[/b]
if (settings.closeButton) {
[b]$('#mkfDialogMaty' + dialogHandle + ' .myclose')
.click(function (e) {
if (e.target.className == 'mkfOverlay')
{
mkf.dialog.close(dialogHandle);
return false;
}
});[/b]
$('#mkfDialog' + dialogHandle + ' .close')
.click(function () {
mkf.dialog.close(dialogHandle); return false;
});
4. Feature request when you have movie information it would be awesome to have next and previous buttons. This was not really easy for me to implement it.
5. I would like to change design to use less space. For Play and enque use some icons(i use P and Eq text shourtcut) and for information delete button and use click anywhere on image or movie name like on screenshoot.