• Home
  • Blog
  • Add-ons
  • Forum
  • Wiki
  • Developers
Nightingale - The tune of life, the tune of yours
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
Guest Hi, Guest
  • Login
  • Register
Login
Username:
Password: Lost Password?
 
Nightingale Forums Development Technical Development Enable reordering of tracks in play queue #96

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Enable reordering of tracks in play queue #96
luisgmarine Offline
Junior Member
**
Posts: 19
Threads: 3
Joined: Dec 2013
Reputation: 0
#1
07-24-2014, 01:32 AM
On github: https://github.com/nightingale-media-pla.../issues/96

Running a debug build on Ubuntu 14.04 provided these two lines in the console.

WARNING: NS_ENSURE_TRUE(((aCurrentIndex) >= -1) && ((aCurrentIndex) <= (PRInt32) mLength - 1)) failed: file /home/morpheus/development/nightingale-hacking/components/library/localdatabase/src/sbLocalDatabaseMediaListViewSelection.cpp, line 194

WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80070057: file /home/morpheus/development/nightingale-hacking/components/library/localdatabase/src/sbPlaylistTreeSelection.cpp, line 234

Reading from the Mozilla Table of Errors, it appears that some invalid argument was passed to the second function. I'm still learning about debugging using gdb, my next move I guess would be to look at the values that are getting passed in to those methods.
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#2
07-24-2014, 03:07 AM
(07-24-2014, 01:32 AM)luisgmarine Wrote: WARNING

Debug builds yield tons of warnings, you should be able to ignore them. On windows, setting the environment variable "XPCOM_DEBUG_BREAK" to "warn" will stop all these issues from popping up, so I'd guess that works on linux too? Or do you want to fix them (beware, there are many)?
Songbird/Nightingale Community Developer and German Translator
Find
Reply
luisgmarine Offline
Junior Member
**
Posts: 19
Threads: 3
Joined: Dec 2013
Reputation: 0
#3
07-24-2014, 04:09 AM
I would like to work on fix this issue, but to be honest I don't have the slightest clue on where to get started. I figured that maybe trying to reproduce the issue would yield some type of error as to why when you drag a track to a different position it is simply copied and not reordered.
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#4
07-24-2014, 06:13 AM
My guess is that the actual implementation copies the tracks instead of moving them. Did you check the now playing list code first?
freaktechnik
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 03-24-2023, 08:00 PM Powered By MyBB, © 2002-2023 MyBB Group.
Design By AliReza_Tofighi In WhiteCrow Software Group.
white outlined nightingale project logo

Nightingale is free!
It is an Open Source project released under the terms of the GNU General Public License v2 (GPL v2).
For more details, please read the license information.

Follow us!
f  g  t

Support
  • Community Forum
  • Official Blog
  • Add-ons
  • Wiki
  • Help Forum
Contribute
  • Developer's Center
  • Translate Nightingale
  • Source Code
  • Report a Bug
Ressources
  • Download Nightingale
Linear Mode
Threaded Mode