• 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 Nightingale Helpdesk Nightingale 1.12 build 2430 - play count issue

Pages (4): « Previous 1 2 3 4 Next »
Thread Closed 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Nightingale 1.12 build 2430 - play count issue
ilikenwf Offline
Developer/Project Manager
*******
Posts: 412
Threads: 22
Joined: Nov 2010
Reputation: 8
#21
04-21-2013, 09:35 AM
Constructive criticism is good. I have a feeling we'll do a 1.12.1 and possibly a 1.12.2 maintenance release in the future, anyway. Smile I'll look at it because I might as well.

OCD sucks! I've dealt with it too.
How to Build Nightingale | Nightingale on GitHub
Find
tibitts Offline
Member
***
Posts: 61
Threads: 9
Joined: Nov 2012
Reputation: 0
#22
06-02-2013, 07:58 PM
Is there any progress on the play count issue? This is the one problem which still prevents me from using Nightingale.
Thanks.
Find
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#23
06-04-2013, 08:59 AM
(06-02-2013, 07:58 PM)tibitts Wrote: Is there any progress on the play count issue? This is the one problem which still prevents me from using Nightingale.
Thanks.

Sadly I never were able to reproduce the issue in a debug build. If you succeed in reproducing the issue in a debug build that would be great. However, I cannot do much about it as I don't get it properly reproduced on release builds, and not at all in debug builds.

Kinda hoping someone can track it down or give STR that work for me too...
Songbird/Nightingale Community Developer and German Translator
Find
tibitts Offline
Member
***
Posts: 61
Threads: 9
Joined: Nov 2012
Reputation: 0
#24
06-05-2013, 04:28 AM
What does it take to install a debug build? And what am I supposed to do with a debug build?
Find
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#25
06-08-2013, 11:02 PM
(06-05-2013, 04:28 AM)tibitts Wrote: What does it take to install a debug build? And what am I supposed to do with a debug build?

When building, you need to specify
Code:
ac_add_options --enable-debug=yes
in your nightingale.config and download and unzip debug dependencies to your debug folder. The resulting build can get started just as a regular build, a different profile might be a good idea to not mess in your main profile, though.
On windows (not sure about linux) you should also set the environment variable "XPCOM_DEBUG_BREAK" to "warn".

The issue I wrote about is that (on windows) I did not find a way to trigger the bug in debug builds. If you're able to reproduce the issue in a windows debug build, you can attatch a debugger and investigate how code is executed. That means if somebody (you?) finds a way to trigger the bug and posts what he did Step-by-Step (starting from a clean profile), I might have a chance to reproduce it... however it is possible that the issue lies somewhere in the dependencies or something, in that case it might be impossible to reproduce it in such a build on windows.

If you know how to debug, a starting point you might use is sbPlaybackHistoryService.cpp.
Songbird/Nightingale Community Developer and German Translator
Find
tibitts Offline
Member
***
Posts: 61
Threads: 9
Joined: Nov 2012
Reputation: 0
#26
06-22-2013, 09:08 PM
I built Nightingale with debug enabled on Linux.Starting Nightingale from a shell prompt dumps tons of information.
From all that I believe this is relevant to the issue. The next three Warnings are appear very many times for every second song played, pretty much towards the end of the track. It's the first track played, and the play count gets updated:

WARNING: GetMediaItem called with a bad GUID!: file /home/christ1/Downloads/nightingale/nightingale-hacking/components/library/localdatabase/src/sbLocalDatabaseLibrary.cpp, line 3097
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /home/christ1/Downloads/nightingale/nightingale-hacking/components/mediacore/playback/history/src/sbPlaybackHistoryService.cpp, line 1242
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /home/christ1/Downloads/nightingale/nightingale-hacking/components/mediacore/playback/history/src/sbPlaybackHistoryService.cpp, line 880

These messages appear for every second song played, also pretty much towards the end of the track. This is the second track played, and the play count does not get updated:

###!!! ASSERTION: wrong thread: 'NS_IsMainThread()', file /mnt/ngale/nightingale-deps/xulrunner-1.9.2/mozilla/netwerk/base/src/nsIOService.cpp, line 492
###!!! ASSERTION: wrong thread: 'NS_IsMainThread()', file /mnt/ngale/nightingale-deps/xulrunner-1.9.2/mozilla/netwerk/base/src/nsIOService.cpp, line 492
###!!! ASSERTION: nsStandardURL not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file /mnt/ngale/nightingale-deps/xulrunner-1.9.2/mozilla/netwerk/base/src/nsStandardURL.cpp, line 902
WARNING: NS_ENSURE_TRUE(mCurrentStartTime) failed: file /home/christ1/Downloads/nightingale/nightingale-hacking/components/mediacore/playback/history/src/sbPlaybackHistoryService.cpp, line 1606

As said before, using Linux there is nothing in the error console upon playing songs, while on Windows there is.
Find
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#27
06-23-2013, 12:23 AM
Seems like this one is causing the issue (jump to line):
(06-22-2013, 09:08 PM)tibitts Wrote: WARNING: NS_ENSURE_TRUE(mCurrentStartTime) failed: file /home/christ1/Downloads/nightingale/nightingale-hacking/components/mediacore/playback/history/src/sbPlaybackHistoryService.cpp, line 1606

Thanks a lot for that logs!
Songbird/Nightingale Community Developer and German Translator
Find
tibitts Offline
Member
***
Posts: 61
Threads: 9
Joined: Nov 2012
Reputation: 0
#28
06-29-2013, 01:21 AM
I've built Nightingale for Linux with the 'possible fix for play count increment, #142'. Not sure if this is the final fix yet, but it appears to work for me now, play count is incremented correctly. What a relief!
Thanks a lot.
Find
johnmurrayvi Offline
CXM (Chief XULRunner Magician)
**
Posts: 44
Threads: 1
Joined: Feb 2012
Reputation: 1
#29
06-29-2013, 07:02 AM
Glad to hear it's working! Sounds like it could finally be resolved then.
Thank you for your help and log!
Find
Willynux Offline
Junior Member
**
Posts: 25
Threads: 3
Joined: Jun 2012
Reputation: 0
#30
07-04-2013, 06:39 AM
How do I get this "possible fix for play count increment, #142"?
I found this commit on github: https://github.com/nightingale-media-pla...b9c7c54f84

...but I don't have a file called sbPlaybackHistoryService.cpp, nor a folder called mediacore, nor any of the structure described. There are two files, sbPlaybackHistoryService.so and sbPlaybackHistoryService.xpt on the folder /usr/share/nightingale/components
Find
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »
Thread Closed 


  • 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: 08-19-2022, 08:17 AM Powered By MyBB, © 2002-2022 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