From: <kro...@us...> - 2010-12-17 08:46:29
|
Revision: 4041 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4041&view=rev Author: kroko_koenig Date: 2010-12-17 08:46:22 +0000 (Fri, 17 Dec 2010) Log Message: ----------- small changes Modified Paths: -------------- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_01.java trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_02.java trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_03.java trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/TopExceptionHandler.java trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicAlbum.java trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicArtist.java trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/picturesfullscreen.java trunk/plugins/AndroidRemote/Release/AndroidRemote.mpe1 trunk/plugins/AndroidRemote/Server/AndroidRemote/Request.cs trunk/plugins/AndroidRemote/Server/AndroidRemote.suo Modified: trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_01.java =================================================================== --- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_01.java 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_01.java 2010-12-17 08:46:22 UTC (rev 4041) @@ -57,7 +57,6 @@ Button can = (Button) findViewById(R.id.btnBack); can.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("previousMenu"); } }); @@ -65,7 +64,6 @@ Button menu = (Button) findViewById(R.id.btnMenu); menu.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("contextMenu"); } }); @@ -73,7 +71,6 @@ Button home = (Button) findViewById(R.id.btnHome); home.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("parentDir"); } }); @@ -81,7 +78,6 @@ Button info = (Button) findViewById(R.id.btnInfo); info.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("showInfo"); } }); @@ -89,7 +85,6 @@ Button left = (Button) findViewById(R.id.btnLeft); left.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("moveLeft"); } }); @@ -97,7 +92,6 @@ Button right = (Button) findViewById(R.id.btnRight); right.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("moveRight"); } }); @@ -105,7 +99,6 @@ Button up = (Button) findViewById(R.id.btnUp); up.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("moveUp"); } }); @@ -113,7 +106,6 @@ Button down = (Button) findViewById(R.id.btnDown); down.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("moveDown"); } }); @@ -121,7 +113,6 @@ Button ok = (Button) findViewById(R.id.btnOk); ok.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("selectItem"); } }); @@ -136,7 +127,6 @@ Button pause = (Button) findViewById(R.id.btnPause); pause.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("pause"); } }); @@ -144,7 +134,6 @@ Button stop = (Button) findViewById(R.id.btnStop); stop.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("stop"); } }); @@ -152,7 +141,6 @@ Button skipForw = (Button) findViewById(R.id.btnSkipForw); skipForw.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("nextItem"); } }); @@ -160,7 +148,6 @@ Button skipBack = (Button) findViewById(R.id.btnSkipBack); skipBack.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("prevItem"); } }); @@ -168,7 +155,6 @@ Button fForw = (Button) findViewById(R.id.btnFForw); fForw.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("forward"); } }); @@ -176,7 +162,6 @@ Button fBackw = (Button) findViewById(R.id.btnFBack); fBackw.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("rewind"); } }); @@ -188,6 +173,8 @@ public void PostCommand(String button) { + DoVibrate(); + PostWebserver post = new PostWebserver(Settings.Server, Settings.Port); AssetManager assetManager = getAssets(); Modified: trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_02.java =================================================================== --- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_02.java 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_02.java 2010-12-17 08:46:22 UTC (rev 4041) @@ -56,21 +56,18 @@ Button btnVolumeUp = (Button) findViewById(R.id.btnVolumeUp); btnVolumeUp.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("volumeUp"); } }); Button btnVolumeDown = (Button) findViewById(R.id.btnVolumeDown); btnVolumeDown.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("volumeDown"); } }); Button btnVolumeMute = (Button) findViewById(R.id.btnVolumeMute); btnVolumeMute.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("volumeMute"); } }); @@ -78,14 +75,12 @@ Button btnChannelUp = (Button) findViewById(R.id.btnChannelUp); btnChannelUp.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("nextChannel"); } }); Button btnChannelDown = (Button) findViewById(R.id.btnChannelDown); btnChannelDown.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("prevChannel"); } }); @@ -93,7 +88,6 @@ Button btnExit = (Button) findViewById(R.id.btnExit); btnExit.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("exit"); } }); @@ -106,14 +100,12 @@ Button btnHibernate = (Button) findViewById(R.id.btnHibernate); btnHibernate.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("hibernate"); } }); Button btnRestart = (Button) findViewById(R.id.btnRestart); btnRestart.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("restart"); } }); @@ -127,7 +119,6 @@ Button btnWakeOnLan = (Button) findViewById(R.id.btnWakeOnLan); btnWakeOnLan.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { - DoVibrate(); PostCommand("wakeonlan"); } }); @@ -136,6 +127,8 @@ public void PostCommand(String button) { + DoVibrate(); + PostWebserver post = new PostWebserver(Settings.Server, Settings.Port); AssetManager assetManager = getAssets(); Modified: trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_03.java =================================================================== --- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_03.java 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/Remote_03.java 2010-12-17 08:46:22 UTC (rev 4041) @@ -21,13 +21,11 @@ package mediaportal.remote; -import java.io.IOException; -import java.io.InputStream; + import mediaportal.remote.R; import android.app.Activity; import android.content.Context; import android.content.Intent; -import android.content.res.AssetManager; import android.os.Bundle; import android.os.Vibrator; import android.view.GestureDetector; @@ -45,7 +43,7 @@ private static final int SWIPE_MIN_DISTANCE = 120; private static final int SWIPE_MAX_OFF_PATH = 250; private static final int SWIPE_THRESHOLD_VELOCITY = 200; - + /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { @@ -101,6 +99,15 @@ Button btn19 = (Button) findViewById(R.id.btnkey19); btn19.setOnClickListener(mClickListener); + // shift + Button btn20 = (Button) findViewById(R.id.btnkey20); + btn20.setOnClickListener(new View.OnClickListener() { + public void onClick(View view) { + DoVibrate(); + + } + }); + Button btn21 = (Button) findViewById(R.id.btnkey21); btn21.setOnClickListener(mClickListener); Button btn22 = (Button) findViewById(R.id.btnkey22); @@ -115,9 +122,26 @@ btn26.setOnClickListener(mClickListener); Button btn27 = (Button) findViewById(R.id.btnkey27); btn27.setOnClickListener(mClickListener); + + Button btn30 = (Button) findViewById(R.id.btnkey30); + btn30.setOnClickListener(mClickListener); + + // space + Button btn31 = (Button) findViewById(R.id.btnkey31); + btn31.setOnClickListener(new View.OnClickListener() { + public void onClick(View view) { + PostKey(" "); + } + }); + + Button btn32 = (Button) findViewById(R.id.btnkey32); + btn32.setOnClickListener(mClickListener); + Button btn33 = (Button) findViewById(R.id.btnkey33); + btn33.setOnClickListener(mClickListener); } private void PostKey(String Key) { + DoVibrate(); PostWebserver post = new PostWebserver(Settings.Server, Settings.Port); Modified: trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/TopExceptionHandler.java =================================================================== --- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/TopExceptionHandler.java 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/TopExceptionHandler.java 2010-12-17 08:46:22 UTC (rev 4041) @@ -62,6 +62,8 @@ } report += "-------------------------------\n\n"; + report += "Remote Version : initial release\n\n"; + report += "-------------------------------\n\n"; report += "--------- Device ---------\n\n"; report += "Brand: " + Build.BRAND + "\n"; report += "Device: " + Build.DEVICE + "\n"; Modified: trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicAlbum.java =================================================================== --- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicAlbum.java 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicAlbum.java 2010-12-17 08:46:22 UTC (rev 4041) @@ -31,6 +31,7 @@ import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; +import android.os.Vibrator; import android.util.Log; import android.view.LayoutInflater; import android.view.View; @@ -115,6 +116,14 @@ listview.setAdapter(new EfficientAdapter(musicAlbum.this)); } } + + public void DoVibrate() { + if (Settings.Vibrate) { + // Get instance of Vibrator from current Context + Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); + v.vibrate(100); + } + } } private static class EfficientAdapter extends BaseAdapter { Modified: trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicArtist.java =================================================================== --- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicArtist.java 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/musicArtist.java 2010-12-17 08:46:22 UTC (rev 4041) @@ -31,6 +31,7 @@ import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; +import android.os.Vibrator; import android.util.Log; import android.view.LayoutInflater; import android.view.View; @@ -65,7 +66,7 @@ musicResults.Select = item.Artist; musicResults.Mode = musicResults.SelectMode.Artist; - + Intent myIntent = new Intent(arg1.getContext(), musicResults.class); startActivityForResult(myIntent, 0); @@ -116,6 +117,14 @@ listview.setAdapter(new EfficientAdapter(musicArtist.this)); } } + + public void DoVibrate() { + if (Settings.Vibrate) { + // Get instance of Vibrator from current Context + Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); + v.vibrate(100); + } + } } private static class EfficientAdapter extends BaseAdapter { Modified: trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/picturesfullscreen.java =================================================================== --- trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/picturesfullscreen.java 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Android/MediaPortalRemote/src/mediaportal/remote/picturesfullscreen.java 2010-12-17 08:46:22 UTC (rev 4041) @@ -40,22 +40,16 @@ import android.os.Environment; import android.os.Handler; import android.util.Log; -import android.view.ContextMenu; import android.view.GestureDetector; -import android.view.MenuInflater; -import android.view.MenuItem; import android.view.MotionEvent; -import android.view.View; import android.view.Window; import android.view.WindowManager; -import android.view.ContextMenu.ContextMenuInfo; import android.view.GestureDetector.OnGestureListener; -import android.view.View.OnCreateContextMenuListener; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; -public class picturesfullscreen extends Activity implements OnGestureListener { +public class picturesfullscreen extends Activity implements OnGestureListener { private Handler mHandler = new Handler(); private GestureDetector gestureScanner; @@ -77,22 +71,22 @@ WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.picturesfullscreen); - gestureScanner = new GestureDetector(picturesfullscreen.this); - new setPicture().execute(); } - private class setPicture extends AsyncTask<String, Void, Void> { - private final ProgressDialog dialog = new ProgressDialog(picturesfullscreen.this); + private final ProgressDialog dialog = new ProgressDialog( + picturesfullscreen.this); DirItems item = pictures.pictureList.get(pictures.selectedPicture); // can use UI thread here protected void onPreExecute() { - this.dialog.setMessage("Loading..."); - this.dialog.show(); + if (!slideShow) { + this.dialog.setMessage("Loading..."); + this.dialog.show(); + } } // automatically done on worker thread (separate from UI thread) @@ -100,7 +94,7 @@ if (!item.isFolder) { httpHandler http = new httpHandler(); String file = "http://" + Settings.Server + ":" + Settings.Port - + "/pictures/"; + + "/pictures/"; file += pictures.actualDir + item.File; item.Picture = http.DownloadImage(file.replaceAll(" ", "%20")); } @@ -114,17 +108,15 @@ this.dialog.dismiss(); } - if (item.isFolder != true){ + if (item.isFolder != true) { ImageView imagev = (ImageView) findViewById(R.id.ImageView01); imagev.setImageBitmap(item.Picture); TextView txt = (TextView) findViewById(R.id.full_text); txt.setText(item.File); } - } - } + } - @Override public void onStart() { super.onStart(); @@ -145,10 +137,9 @@ pictures.selectedPicture = 0; new setPicture().execute(); - } - else if (randomShow) { - String req = "http://" + Settings.Server + ":" - + Settings.Port + "/random/pictures/random.jpg"; + } else if (randomShow) { + String req = "http://" + Settings.Server + ":" + Settings.Port + + "/random/pictures/random.jpg"; httpHandler handler = new httpHandler(); Bitmap pic = handler.DownloadImage(req); @@ -171,7 +162,6 @@ mHandler.removeCallbacks(mUpdateTimeTask); } - @Override protected void onResume() { super.onResume(); @@ -180,14 +170,13 @@ mHandler.postDelayed(mUpdateTimeTask, SlideInterval); } - // **************** // Menu Functions // ****************** private void OpenURL() { DirItems item = pictures.pictureList.get(pictures.selectedPicture); String file = "http://" + Settings.Server + ":" + Settings.Port - + "/pictures/"; + + "/pictures/"; file += pictures.actualDir + item.File; String url = file.replaceAll(" ", "%20"); Intent i = new Intent(Intent.ACTION_VIEW); @@ -207,7 +196,6 @@ + item.File.toString()); } catch (FileNotFoundException e) { - // TODO Auto-generated catch block e.printStackTrace(); Log.e("Debug", "SavetoSDCard " + e.getMessage().toString() + " |||| " + e.getLocalizedMessage().toString()); @@ -216,7 +204,6 @@ try { outStream.flush(); } catch (IOException e) { - // TODO Auto-generated catch block e.printStackTrace(); Log.e("Debug", "SavetoSDCard " + e.getMessage().toString() + " |||| " + e.getLocalizedMessage().toString()); @@ -224,10 +211,14 @@ try { outStream.close(); + @SuppressWarnings("unused") + MediaScannerNotifier media = new MediaScannerNotifier( + picturesfullscreen.this, fPath + "/" + + item.File.toString(), "image/jpeg"); + Toast.makeText(picturesfullscreen.this, "File saved.", Toast.LENGTH_SHORT).show(); } catch (IOException e) { - // TODO Auto-generated catch block e.printStackTrace(); Log.e("Debug", "SavetoSDCard " + e.getMessage().toString() + " |||| " + e.getLocalizedMessage().toString()); @@ -248,7 +239,7 @@ picMessageIntent.setType("image/jpeg"); picMessageIntent.putExtra(Intent.EXTRA_STREAM, item.Picture); startActivity(Intent.createChooser(picMessageIntent, - "Send picture using:")); + "Send picture using:")); } catch (Exception e) { Log.e("Debug", "SendPicture " + e.getMessage().toString() + " |||| " + e.getLocalizedMessage().toString()); @@ -256,6 +247,9 @@ } } + // **************** + // gesture control + // **************** @Override public boolean onTouchEvent(MotionEvent me) { @@ -274,12 +268,12 @@ if (e1.getX() - e2.getX() > SWIPE_MIN_DISTANCE && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { - if (pictures.selectedPicture < max - 1) { + if (pictures.selectedPicture < max - 1) { pictures.selectedPicture++; new setPicture().execute(); } else - Toast.makeText(this, "reached end +", - Toast.LENGTH_SHORT).show(); + Toast.makeText(this, "reached end +", Toast.LENGTH_SHORT) + .show(); return true; } else if (e2.getX() - e1.getX() > SWIPE_MIN_DISTANCE && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { @@ -288,8 +282,8 @@ pictures.selectedPicture--; new setPicture().execute(); } else - Toast.makeText(this, "reached end -", - Toast.LENGTH_SHORT).show(); + Toast.makeText(this, "reached end -", Toast.LENGTH_SHORT) + .show(); return true; } } catch (Exception e) { @@ -306,21 +300,21 @@ String slidestatus; String randomslidestatus; - if (slideShow == true) + if (slideShow == true) slidestatus = "Stop slideshow"; else slidestatus = "Start slideshow"; - if (randomShow == true) + if (randomShow == true) randomslidestatus = "Stop random slideshow"; else randomslidestatus = "Start random slideshow"; - final CharSequence[] items = { "Save to sd card", "Open in browser", - "Send Picture", slidestatus ,randomslidestatus, "Cancel" }; + "Send Picture", slidestatus, randomslidestatus, "Cancel" }; - AlertDialog.Builder builder = new AlertDialog.Builder(picturesfullscreen.this); + AlertDialog.Builder builder = new AlertDialog.Builder( + picturesfullscreen.this); builder.setTitle("Picture optoins"); builder.setItems(items, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int item) { @@ -368,28 +362,21 @@ } public boolean onSingleTapUp(MotionEvent arg0) { - if (slideShow == true || randomShow == true){ - if (SlideshowPaused == false) - { + if (slideShow == true || randomShow == true) { + if (SlideshowPaused == false) { onPause(); - Toast.makeText(this, "Pause slideshow", - Toast.LENGTH_SHORT).show(); + Toast.makeText(this, "Pause slideshow", Toast.LENGTH_SHORT) + .show(); return true; - } - else - { - onResume(); - Toast.makeText(this, "Resume slideshow", - Toast.LENGTH_SHORT).show(); + } else { + onResume(); + Toast.makeText(this, "Resume slideshow", Toast.LENGTH_SHORT) + .show(); return true; } - } - else - { + } else { return false; } } - - } \ No newline at end of file Modified: trunk/plugins/AndroidRemote/Release/AndroidRemote.mpe1 =================================================================== (Binary files differ) Modified: trunk/plugins/AndroidRemote/Server/AndroidRemote/Request.cs =================================================================== --- trunk/plugins/AndroidRemote/Server/AndroidRemote/Request.cs 2010-12-16 20:51:21 UTC (rev 4040) +++ trunk/plugins/AndroidRemote/Server/AndroidRemote/Request.cs 2010-12-17 08:46:22 UTC (rev 4041) @@ -354,7 +354,16 @@ PlayList playList = playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC); if (playList.Count > 0) playlistPlayer.Play(0); + } + private void StartPlayerLast() + { + // we need to do this, we could crash external players because their are not thread safe. + PlayListPlayer playlistPlayer = PlayListPlayer.SingletonPlayer; + playlistPlayer.CurrentPlaylistType = PlayListType.PLAYLIST_MUSIC; + PlayList playList = playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC); + if (playList.Count > 0) + playlistPlayer.Play(playList.Count - 1); } private void ExceuteCommand(string Message) @@ -392,9 +401,9 @@ GUIGraphicsContext.OnAction(action); } else - { - StartPlaylistPlayer del = new StartPlaylistPlayer(StartPlayer); - GUIGraphicsContext.form.Invoke(del, new object[] { }); + { + StartPlaylistPlayer del = new StartPlaylistPlayer(StartPlayer); + GUIGraphicsContext.form.Invoke(del, new object[] { }); } } if (data["command"] == ("ACTION_STOP")) @@ -589,6 +598,12 @@ playlistItem.MusicTag = tag; playList.Add(playlistItem); + + if (!g_Player.Playing) + { + StartPlaylistPlayer del = new StartPlaylistPlayer(StartPlayerLast); + GUIGraphicsContext.form.Invoke(del, new object[] { }); + } } } #endregion @@ -644,6 +659,12 @@ playlistItem.MusicTag = tag; playList.Add(playlistItem); + + if (!g_Player.Playing) + { + StartPlaylistPlayer del = new StartPlaylistPlayer(StartPlayerLast); + GUIGraphicsContext.form.Invoke(del, new object[] { }); + } } } @@ -866,7 +887,7 @@ byte[] b; Bitmap thumb = (Bitmap)bit.Clone(); - thumb = MediaPortal.Util.BitmapResize.Resize(ref thumb, 85, 85, false, true); + thumb = MediaPortal.Util.BitmapResize.Resize(ref thumb, 85, 60, false, true); b = BildToByteArray((Image)thumb); @@ -1088,7 +1109,7 @@ byte[] b; Bitmap thumb = (Bitmap)bit.Clone(); - thumb = MediaPortal.Util.BitmapResize.Resize(ref thumb, 85, 85, false, true); + thumb = MediaPortal.Util.BitmapResize.Resize(ref thumb, 85, 60, false, true); b = BildToByteArray((Image)thumb); Modified: trunk/plugins/AndroidRemote/Server/AndroidRemote.suo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |