Ticket #4270: mythplugins.patch
File mythplugins.patch, 3.2 KB (added by , 16 years ago) |
---|
-
configure
471 471 fi 472 472 fi 473 473 474 if test "$paranoia" = "no" -a "$targetos" != "Darwin" -a "$ targetos" != "MINGW32_NT-6.0"; then474 if test "$paranoia" = "no" -a "$targetos" != "Darwin" -a "${targetos:0:5}" != "MINGW"; then 475 475 echo "MythMusic requires CDDA Paranoia." 476 476 fi 477 477 … … 489 489 echo "MythMusic requires taglib 1.4." 490 490 fi 491 491 492 if test "$targetos" != "Darwin" -a "$ targetos" != "MINGW32_NT-6.0" ; then492 if test "$targetos" != "Darwin" -a "${targetos:0:5}" != "MINGW" ; then 493 493 if test "$cdaudio" = "no" -o "$paranoia" = "no" ; then 494 494 cdlibs="no" 495 495 fi -
mythmusic/mythmusic/databasebox.cpp
21 21 #include "metadata.h" 22 22 #include "databasebox.h" 23 23 #include "treecheckitem.h" 24 #include "cddecoder.h"25 24 #include "playlist.h" 26 25 #include "musicplayer.h" 27 26 #ifndef USING_MINGW -
mythmusic/mythmusic/musicplayer.cpp
19 19 // mythmusic 20 20 #include "musicplayer.h" 21 21 #include "decoder.h" 22 #ifndef USING_MINGW 22 23 #include "cddecoder.h" 24 #endif 23 25 #include "constants.h" 24 26 #include "mainvisual.h" 25 27 #include "miniplayer.h" … … 261 263 return; 262 264 } 263 265 266 #ifndef USING_MINGW 264 267 if (m_currentFile.contains("cda") == 1) 265 268 dynamic_cast<CdDecoder*>(m_decoder)->setDevice(m_CDdevice); 269 #endif 266 270 267 271 m_decoder->setBlockSize(2 * 1024); 268 272 … … 309 313 } 310 314 } 311 315 } 316 #ifndef USING_MINGW 312 317 else 313 318 { 314 319 // CD track … … 316 321 if (m_decoder) 317 322 m_currentMetadata = cddecoder->getMetadata(-m_currentNode->getInt()); 318 323 } 324 #endif 319 325 } 320 326 } 321 327 } … … 577 583 filename = Metadata::GetStartdir() + filename; 578 584 } 579 585 } 586 #ifndef USING_MINGW 580 587 else 581 588 { 582 589 // cd track … … 588 595 filename = meta->Filename(); 589 596 } 590 597 } 598 #endif 591 599 return filename; 592 600 } 593 601 -
mythmusic/mythmusic/playbackbox.h
47 47 void play(); 48 48 void stop(); 49 49 void pause(); 50 void stopDecoder() ;50 void stopDecoder() {}; 51 51 void previous(); 52 52 void next(); 53 53 void seekforward(); -
mythmusic/mythmusic/goom/mythgoom.cpp
12 12 #include <math.h> 13 13 #include <stdlib.h> 14 14 15 #include <mythtv/compat.h> 16 15 17 #include <iostream> 16 18 using namespace std; 17 19